Closed rsignell-usgs closed 6 years ago
I copied the above dataset over to gamone by using the https link on http://tds.renci.org:8080/thredds/catalog/DataLayers/Tides/ec2015_tidaldb/catalog.html?dataset=DataLayers/Tides/ec2015_tidaldb/f53.nc
So now you can hit: https://gamone.whoi.edu/thredds/dodsC/usgs/vault0/models/tides/ec2015/f53.nc.html
I created f53.ncml to convert this file to UGRID conventions.
Because there is no CF/UGRID conventions for variables with frequency dimension, we renamed it to the time dimension, renamed frequency variable to time and then overwrote the time values. This allows sci-wms to recognize the file.
But it's nicer to split out the major constituents into a separate dataset instead of fudging the time dimension. I found some python code on stackoverflow to copy all but specifically excluded variables to a new file, and then added some additional code to write out specific amplitudes.
The resulting python code is here: https://github.com/USGS-CMG/wetlands-synthesis/blob/master/python/write_big5.py
And the resulting UGRID-compliant file with M2, S2, N2, O1, K1 amplitudes is here: https://gamone.whoi.edu/thredds/dodsC/usgs/vault0/models/tides/ec2015/out.nc.html
@BrianOBlanton put a netcdf file with the ec2015 tidal constituent data on THREDDS here: http://tds.renci.org:8080/thredds/dodsC/DataLayers/Tides/ec2015_tidaldb/f53.nc.html and we need a UGRID version that will work with ncWMS and sci-wms.