Skip to content

Commit

Permalink
Merge pull request #39 from zdefne-usgs/v03_with_new_fields
Browse files Browse the repository at this point in the history
added fields, corrected the institution keyword
  • Loading branch information
zdefne-usgs authored Jun 9, 2022
2 parents 433a9e2 + 98c3f11 commit 6e11c44
Show file tree
Hide file tree
Showing 8 changed files with 1,943 additions and 2 deletions.
312 changes: 312 additions & 0 deletions tests/zafer/orig_dir_roms.ncml.orig

Large diffs are not rendered by default.

284 changes: 284 additions & 0 deletions tests/zafer/roms.ncml
Original file line number Diff line number Diff line change
@@ -0,0 +1,284 @@
<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
<attribute name="Conventions" type="String" value="CF-1.6, SGRID-0.1, ACDD-1.3"/>
<attribute name="cdm_data_type" type="String" value="Grid"/>
<attribute name="id" type="String" value="USGS_BBLEH_RUN071TRX"/>
<attribute name="title" type="String" value="USGS Barnegat Bay Hydrodynamic Model for March-September 2012"/>
<attribute name="summary" type="String" value="Simulation of hydrodynamic circulation in Barnegat Bay for the period from 03-01-2012 to 10-01-2012. The bathymetry of the model was based on the National Ocean Service Hydrographic Survey data, and updated with recent bathymetric measurements. At the landward end (western boundary), we specified point sources of freshwater in accordance with USGS streamflow measurements at 7 gauges, and a radiation boundary condition that allows tidal energy to propagate landward. On the seaward end, tidal water level and velocity amplitudes from the ADCIRC tidal constituents database for the North Atlantic were applied. These were supplemented by the subtidal water level and subtidal barotropic velocity from the ESPreSSO model, which covers the Mid-Atlantic Bight at 6 kilometer resolution. At the ocean boundary, a combination of Chapman, Flather, and gradient boundary conditions were used. Salinity and temperature was also supplied by the ESPreSSO model. A radiation condition with nudging on a 6-hour timescale for tracers allowed for relaxation of the model solution relative to the forcing data, which prevented sharp gradients at the seaward boundary and subsequent oscillations in the solution. At the ocean-atmosphere interface we applied meteorological forcing from North American Mesoscale Model. The bulk flux parameterization routine was used with 3-hour wind velocity, air pressure, long and shortwave radiation, relative humidity, and rain inputs. For more details on the model set up see Defne and Ganju, 2015. Reference: Defne, Zafer, and Ganju, N. K., 2015, Quantifying the residence time and flushing characteristics of a shallow, back-barrier estuary: application of hydrodynamic and particle tracking models, Estuaries and Coasts, 38, 1719-1734"/>
<attribute name="project" type="String" value="CMG_Portal"/>
<attribute name="creator_email" type="String" value="zdefne@usgs.gov"/>
<attribute name="creator_url" type="String" value="https://www.usgs.gov/staff-profiles/zdefne"/>
<attribute name="creator_name" type="String" value="Zafer Defne"/>
<attribute name="publisher_email" type="String" value="zdefne@usgs.gov"/>
<attribute name="publisher_url" type="String" value="https://www.usgs.gov/staff-profiles/zdefne"/>
<attribute name="publisher_name" type="String" value="Zafer Defne"/>
<attribute name="contributor_role" type="String" value="principalInvestigator"/>
<attribute name="contributor_email" type="String" value="nganju@usgs.gov"/>
<attribute name="contributor_url" type="String" value="https://www.usgs.gov/staff-profiles/nganju"/>
<attribute name="contributor_name" type="String" value="Neil Ganju"/>
<attribute name="naming_authority" type="String" value="gov.usgs.cmgp.whsc"/>
<attribute name="license" type="String" value="The data may be used and redistributed for free but is not intended for legal use, since it may contain inaccuracies. Neither the data Contributor, nor the United States Government, nor any of their employees or contractors, makes any warranty, express or implied, including warranties of merchantability and fitness for a particular purpose, or assumes any legal liability for the accuracy, completeness, or usefulness, of this information."/>
<attribute name="references" type="String" value="http://woodshole.er.usgs.gov/project-pages/estuaries/,http://woodshole.er.usgs.gov/operations/modeling/COAWST/"/>
<variable name="Tobc_in">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="False"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
</variable>

<variable name="Tobc_out">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="False"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
</variable>

<variable name="h">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="f">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="pm">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="pn">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="lon_rho">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="lat_rho">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="lon_u">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge1"/>
</variable>

<variable name="lat_u">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge1"/>
</variable>

<variable name="lon_v">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge2"/>
</variable>

<variable name="lat_v">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge2"/>
</variable>

<variable name="lon_psi">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
</variable>

<variable name="lat_psi">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
</variable>

<variable name="angle">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="mask_rho">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="mask_u">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge1"/>
</variable>

<variable name="mask_v">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge2"/>
</variable>

<variable name="mask_psi">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
</variable>

<variable name="wetdry_mask_rho">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="wetdry_mask_u">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge1"/>
</variable>

<variable name="wetdry_mask_v">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge2"/>
</variable>

<variable name="zeta">
<attribute name="standard_name" type="String" value="sea_surface_height_above_geopotential_datum"/>
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="ubar">
<attribute name="standard_name" type="String" value="barotropic_sea_water_x_velocity"/>
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge1"/>
</variable>

<variable name="vbar">
<attribute name="standard_name" type="String" value="barotropic_sea_water_y_velocity"/>
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge2"/>
</variable>

<variable name="u">
<attribute name="standard_name" type="String" value="sea_water_x_velocity"/>
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="False"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge1"/>
</variable>

<variable name="v">
<attribute name="standard_name" type="String" value="sea_water_y_velocity"/>
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="False"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge2"/>
</variable>

<variable name="w">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="False"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="temp">
<attribute name="standard_name" type="String" value="sea_water_potential_temperature"/>
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="salt">
<attribute name="standard_name" type="String" value="sea_water_salinity"/>
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="rho">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="AKs">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="face"/>
</variable>

<variable name="bustr">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge1"/>
</variable>

<variable name="bvstr">
<attribute name="grid" type="String" value="grid"/>
<attribute name="display" type="String" value="True"/>
<attribute name="coverage_content_type" type="String" value="modelResult"/>
<attribute name="location" type="String" value="edge2"/>
</variable>


<variable name="ocean_time">
<attribute name="standard_name" type="String" value="time"/>
</variable>

<variable name="grid" type="int">
<attribute name="cf_role" value="grid_topology"/>
<attribute name="topology_dimension" type="int" value="2"/>
<attribute name="node_dimensions" value="xi_psi eta_psi"/>
<attribute name="face_dimensions"
value="xi_rho: xi_psi (padding: both) eta_rho: eta_psi (padding: both)"/>
<attribute name="edge1_dimensions" value="xi_u: xi_psi eta_u: eta_psi (padding: both)"/>
<attribute name="edge2_dimensions" value="xi_v: xi_psi (padding: both) eta_v: eta_psi"/>
<attribute name="node_coordinates" value="lon_psi lat_psi"/>
<attribute name="face_coordinates" value="lon_rho lat_rho"/>
<attribute name="edge1_coordinates" value="lon_u lat_u"/>
<attribute name="edge2_coordinates" value="lon_v lat_v"/>
<attribute name="vertical_dimensions" value="s_rho: s_w (padding: none)"/>
</variable>
<aggregation dimName="ocean_time" type="joinExisting">
<scan location="his/" regExp=".*his_bbleh_[0-9]{4}\.nc$" subdirs="false"/>
</aggregation>
</netcdf>
Loading

0 comments on commit 6e11c44

Please sign in to comment.