NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Akhil, Nathan, As of right now there are 146k records in that dataset aggregation, which would be quite a large dataset to download in 1 query. The easiest method to streamline the data into your workspace would likely be through the openDAP protocol (options available in python -- see below example -- and matlab eg. ncread function). This allows you to isolate the data you're interested in w/o downloading the entire repository or download the data variable by variable via openDAP and save it locally if you like. Feel free to email directly if you have further questions regarding our data! Thanks, Spicer Bak Research Coastal Engineer USACE Field Research Facility python example below: In[2]: import netCDF4 as nc In[3]: ncfile = nc.Dataset(' https://chlthredds.erdc.dren.mil/thredds/dodsC/frf/oceanography/waves/waverider-26m/waverider-26m.ncml ') In[4]: ncfile.variables.keys() Out[4]: [u'station_name', u'waveFrequency', u'waveDirectionBins', u'nominalDepth', u'latitude', u'longitude', u'waveHs', u'waveTp', u'waveTpfb', u'waveTm', u'waveTm1', u'waveTm2', u'wavePeakDirectionPeakFrequency', u'waveMeanDirection', u'waveMeanDirectionPeakFrequency', u'wavePrincipleDirection', u'time', u'gaugeDepth', u'qcFlagE', u'qcFlagD', u'directionalPeakSpread', u'spectralWidthParameter', u'waveDirectionEstimator', u'waveEnergyDensity', u'directionalWaveEnergyDensity', u'waveA1Value', u'waveB1Value', u'waveA2Value', u'waveB2Value'] In[5]: ncfile['time'][:] Out[5]: array([ 1.21148064e+09, 1.21148244e+09, 1.21148424e+09, ..., 1.51778088e+09, 1.51778268e+09, 1.51778448e+09]) In[6]: ncfile['waveHs'][:] Out[6]: array([ 0.55472255, 0.58538461, 0.5709064 , ..., 1.43545318, 1.45016885, 1.52784443], dtype=float32) In[7]: ncfile['waveHs'][:].shape Out[7]: (146391L,) On Sun, Feb 4, 2018 at 5:58 PM, Nathan Potter <ndp@xxxxxxxxxxx> wrote: > > Hi Akhil, > > I poked around on the server https://chlthredds.erdc.dren.mil/thredds/ > and I was unable to find any options for netcdf formatted downloads of the > aggregation: > > https://chlthredds.erdc.dren.mil/thredds/dodsC/frf/ > oceanography/waves/waverider-26m/waverider-26m.ncml.html > > You can get the individual files, but not all of them in a single file > response. You may be able to get it to send back a subset of the > aggregation by manually manipulating the request URL, but I don;’t know how > to achieve that result. > > I am including the THREDDS mailing list (since the server in question is > an instance of the THREDDS Data Server, TDS) and it may be that someone > there knows the recipe to get the thing you want. > > Sincerely, > > Nathan > > > > On Feb 4, 2018, at 1:59 PM, Muhammad Salim, Akhil < > salima@xxxxxxxxxxxxxxx> wrote: > > > > Hi, > > > > I was trying to retrieve a netcdf4 formatted data for > https://chlthredds.erdc.dren.mil/thredds/dodsC/frf/ > oceanography/waves/waverider-26m/waverider-26m.ncml.html but it appears > that there is only ASCII and Binary options available. Am I doing something > wrong with my selection of variables or is the netcdf format not available > for this data? Your help is greatly appreciated. > > > > Thank you, > > Akhil > > > > > > Akhil Salim | PhD Student > > Coastal Imaging Lab | College of Earth, Ocean and Atmospheric Sciences > > Oregon State University > > > > > > Virus-free. www.avast.com > > = = = > Nathan Potter ndp at opendap.org > OPeNDAP, Inc. +1.541.231.3317 > > _______________________________________________ > NOTE: All exchanges posted to Unidata maintained email lists are > recorded in the Unidata inquiry tracking system and made publicly > available through the web. Users who post to any of the lists we > maintain are reminded to remove any personal information that they > do not want to be made public. > > > thredds mailing list > thredds@xxxxxxxxxxxxxxxx > For list information or to unsubscribe, visit: > http://www.unidata.ucar.edu/mailing_lists/ -- +++++++++++++++++++++++++++ Spicer Bak, PhD USACE CHL Field Research Facility 301.332.5577
thredds
archives: