Skip to content

Instantly share code, notes, and snippets.

@rsignell-usgs
Created April 29, 2013 19:53
Show Gist options
  • Save rsignell-usgs/5484245 to your computer and use it in GitHub Desktop.
Save rsignell-usgs/5484245 to your computer and use it in GitHub Desktop.
test catalog showing effect of (station,time) vs (time,station) ordering
<?xml version="1.0" encoding="UTF-8"?>
<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0 http://www.unidata.ucar.edu/schemas/thredds/InvCatalog.1.0.3.xsd"
xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0"
xmlns:xlink="http://www.w3.org/1999/xlink" name="USGS CMGP Oceanographic Time Series Data">
<service name="manyservices" serviceType="Compound" base="">
<service name="ncdods" serviceType="OpenDAP" base="/thredds/dodsC/"/>
<service name="wcs" serviceType="WCS" base="/thredds/wcs/"/>
<service name="ncml" serviceType="NCML" base="/thredds/ncml/"/>
<service name="uddc" serviceType="UDDC" base="/thredds/uddc/"/>
<service name="iso" serviceType="ISO" base="/thredds/iso/"/>
</service>
<dataset name="Observations in Buzzards Bay during Hurricane Irene" ID="HurrIrene">
<metadata inherited="true">
<serviceName>manyservices</serviceName>
<!-- <authority>gov.usgs.er.whsc</authority> -->
<dataType>Station</dataType>
<dataFormat>NetCDF</dataFormat>
<creator>
<name vocabulary="DIF">OM/WHSC/USGS</name>
<contact url="http://www.usgs.gov/" email="emontgomery@usgs.gov"/>
</creator>
<publisher>
<name vocabulary="DIF">OM/WHSC/USGS</name>
<contact url="http://www.usgs.gov/" email="emontgomery@usgs.gov"/>
</publisher>
<geospatialCoverage zpositive="down">
<northsouth>
<start>41.0</start>
<size>1.0</size>
<units>degrees_north</units>
</northsouth>
<eastwest>
<start>-70.0</start>
<size>1.0</size>
<units>degrees_east</units>
</eastwest>
<updown>
<start>0</start>
<size>70</size>
<units>meters</units>
</updown>
</geospatialCoverage>
<documentation xlink:href="http://stellwagen.er.usgs.gov/hurrIrene_bb.html"
xlink:title="USGS Coastal and Marine Program Time Series Data"/>
</metadata>
<dataset name="9141wh-a.nc" ID="hurrIrene_bb/9141wh-a.nc" urlPath="hurrIrene_bb/9141wh-a.nc">
<serviceName>manyservices</serviceName>
<metadata inherited="false">
<geospatialCoverage>
<northsouth>
<start> 41.530869 </start>
<size>0</size>
<units>degrees_north</units>
</northsouth>
<eastwest>
<start> -70.801224 </start>
<size>0</size>
<units>degrees_west</units>
</eastwest>
</geospatialCoverage>
<timeCoverage>
<start>2011-08-26 13:56:00 </start>
<end> 2011-09-24 04:16:00 </end>
</timeCoverage>
</metadata>
<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 lat lon"/>
</variable>
<variable name="Tx_1211" shape="time station">
<attribute name="standard_name" value="sea_water_temperature"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="SV_80" shape="time station">
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="Hdg_1215" shape="time station">
<attribute name="standard_name" value="platform_orientation"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="Ptch_1216" shape="time station">
<attribute name="standard_name" value="platform_pitch_angle"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="Roll_1217" shape="time station">
<attribute name="standard_name" value="platform_roll_angle"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="P_1294" shape="time station">
<attribute name="standard_name" value="platform_orientation"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="SDP_850" shape="time station">
<attribute name="coordinates" value="time 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>
</dataset>
<dataset name="9141wh-a-works.nc" ID="hurrIrene_bb/9141wh-a-works.nc" urlPath="hurrIrene_bb/9141wh-a-works.nc">
<serviceName>manyservices</serviceName>
<metadata inherited="false">
<geospatialCoverage>
<northsouth>
<start> 41.530869 </start>
<size>0</size>
<units>degrees_north</units>
</northsouth>
<eastwest>
<start> -70.801224 </start>
<size>0</size>
<units>degrees_west</units>
</eastwest>
</geospatialCoverage>
<timeCoverage>
<start>2011-08-26 13:56:00 </start>
<end> 2011-09-24 04:16:00 </end>
</timeCoverage>
</metadata>
<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="station time">
<attribute name="standard_name" value="platform_orientation"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="Tx_1211" shape="station time">
<attribute name="standard_name" value="sea_water_temperature"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="SV_80" shape="station time">
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="Hdg_1215" shape="station time">
<attribute name="standard_name" value="platform_orientation"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="Ptch_1216" shape="station time">
<attribute name="standard_name" value="platform_pitch_angle"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="Roll_1217" shape="station time">
<attribute name="standard_name" value="platform_roll_angle"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="P_1294" shape="station time">
<attribute name="standard_name" value="platform_orientation"/>
<attribute name="coordinates" value="time lat lon"/>
</variable>
<variable name="SDP_850" shape="station time">
<attribute name="coordinates" value="time 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>
</dataset>
</dataset>
</catalog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment