Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating datasets.xml blocks for ERDDAP #9

Open
rsignell-usgs opened this issue Mar 9, 2017 · 2 comments
Open

Creating datasets.xml blocks for ERDDAP #9

rsignell-usgs opened this issue Mar 9, 2017 · 2 comments

Comments

@rsignell-usgs
Copy link
Contributor

We should add a standard method for generating blocks for ERDDAP in each DSG class. ERDDAP's provided scripts take an abstract approach so they can support a wide variety of data, but since we already know the featureType and details of the dataset, generating the correct block should be easy.

@rsignell-usgs rsignell-usgs changed the title Writing datasets.xml blocks for ERDDAP Creating datasets.xml blocks for ERDDAP Mar 9, 2017
@rsignell-usgs
Copy link
Contributor Author

Some of my findings so far:

  • The featureType=timeSeries netcdf files we produce have needed the following fixes to work in ERDDAP:
<dataset type="EDDTableFromNcCFFiles" datasetID="phsen_2ac1_efcb_5466" active="true">
...
 <att name="cdm_data_type">timeSeries</att>
 <att name="cdm_timeseries_variables">feature_type_instance, longitude, latitude</att>
 <att name="subsetVariables">feature_type_instance, latitude, longitude</att>
...
  • To represent multidimensional variables as grid, we just need cdm_data_type=Grid:
<dataset type="EDDGridFromNcFiles" datasetID="phsen_2e2d_a110_30fa" active="true">
...
 <att name="cdm_data_type">Grid</att>
...

@abkfenris
Copy link

I've started a library to work towards generating ERDDAP dataset blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants