Skip to content

Instantly share code, notes, and snippets.

@rsignell-usgs
Created April 29, 2013 19:56
Show Gist options
  • Save rsignell-usgs/5484269 to your computer and use it in GitHub Desktop.
Save rsignell-usgs/5484269 to your computer and use it in GitHub Desktop.
ncml version of dataset with (time,station) that works okay
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"
location="http://stellwagen.er.usgs.gov/opendap/hurrIrene_bb/9141wh-a.nc">
<variable name="time" shape="time" type="double">
<attribute name="units" value="seconds since 1858-11-17 00:00:00 UTC"/>
<attribute name="long_name" value="Modified Julian Day"/>
<values start="4821083760" increment="300"/>
</variable>
<dimension name="name_strlen" length="17"/>
<dimension name="station" length="1"/>
<remove type="dimension" name="lon"/>
<remove type="dimension" name="lat"/>
<remove type="dimension" name="depth"/>
<remove type="variable" name="time2"/>
<remove type="variable" name="bindist"/>
<remove type="variable" name="Rec"/>
<remove type="variable" name="u_1205"/>
<remove type="variable" name="v_1206"/>
<remove type="variable" name="w_1204"/>
<remove type="variable" name="Werr_1201"/>
<remove type="variable" name="AGC_1202"/>
<remove type="variable" name="PGd_1203"/>
<variable name="depth" shape="station">
<attribute name="positive" value="down"/>
<attribute name="standard_name" value="depth"/>
<values> 16.0187 </values>
</variable>
<variable name="lon" shape="station">
<attribute name="units" value="degree_east"/>
<attribute name="standard_name" value="longitude"/>
</variable>
<variable name="lat" shape="station">
<attribute name="units" value="degree_north"/>
<attribute name="standard_name" value="latitude"/>
</variable>
<variable name="site" shape="name_strlen station" type="char">
<attribute name="standard_name" value="station_id"/>
<attribute name="cf_role" value="timeseries_id"/>
<values>USGS/CMGP-914</values>
</variable>
<variable name="brange" shape="time station">
<attribute name="standard_name" value="platform_orientation"/>
<attribute name="coordinates" value="time depth lat lon"/>
</variable>
<variable name="Tx_1211" shape="time station">
<attribute name="standard_name" value="sea_water_temperature"/>
<attribute name="coordinates" value="time depth lat lon"/>
</variable>
<variable name="SV_80" shape="time station">
<attribute name="coordinates" value="time depth lat lon"/>
</variable>
<variable name="Hdg_1215" shape="time station">
<attribute name="standard_name" value="platform_orientation"/>
<attribute name="coordinates" value="time depth lat lon"/>
</variable>
<variable name="Ptch_1216" shape="time station">
<attribute name="standard_name" value="platform_pitch_angle"/>
<attribute name="coordinates" value="time depth lat lon"/>
</variable>
<variable name="Roll_1217" shape="time station">
<attribute name="standard_name" value="platform_roll_angle"/>
<attribute name="coordinates" value="time depth lat lon"/>
</variable>
<variable name="P_1294" shape="time station">
<attribute name="standard_name" value="platform_orientation"/>
<attribute name="coordinates" value="time depth lat lon"/>
</variable>
<variable name="SDP_850" shape="time station">
<attribute name="coordinates" value="time depth lat lon"/>
</variable>
<attribute name="Conventions" value="CF-1.6"/>
<attribute name="featureType" value="timeSeries"/>
<attribute name="id" value="hurrIrene_bb/9141wh-a.nc"/>
<attribute name="cdm_data_type" value="Station"/>
<attribute name="institution"
value="U.S.Geological Survey, Woods Hole Coastal and Marine Science Center"/>
<attribute name="creator_name" value="Ellyn Montgomery"/>
<attribute name="creator_email" value="emontgomery@usgs.gov"/>
<attribute name="publisher_name"
value="USGS Coastal Marine Geology Program Sediment Transport group"/>
<attribute name="publisher_url" value="http://stellwagen.er.usgs.gov"/>
<attribute name="processing_level" value="Best Basic Version"/>
<attribute name="project"
value="USGS Coastal Marine Geology Program Sediment Transport group"/>
<attribute name="contributor_name" value="B. Butman"/>
<attribute name="contributor_role" value="Project Investigator"/>
<attribute name="contributor_institution" value="U.S.Geological Survey"/>
<attribute name="contributor_email" value="bbutman@usgs.gov"/>
<attribute name="title" value="9141wh-a.nc - Hurricane Irene in Buzzards Bay"/>
<attribute name="summary"
value="Oceanographic data collected in Buzzards Bay during Hurricane Irene August 2011."/>
<attribute name="standard_name_vocabulary" value="CF-1.6"/>
<attribute name="Metadata_Conventions" value="Unidata Dataset Discovery v1.0"/>
<attribute name="date_created" value="2013-04-26T16:17:59"/>
<attribute name="start_time" value="2011-08-26T13:56:00Z"/>
<attribute name="stop_time" value="2011-09-24T04:16:00Z"/>
</netcdf>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment