Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [netcdf-java] Documentation or Direction on defining dimensions of variables in DODSNetcdfFile

Hi Jake,

Sorry, try NetcdfDataset.openFile( datasetURL)

If that doesn't work with your "http://..."; dataset URL, try changing
the "http" to "dods", like this "dods://...".

Ethan

On 10/21/2011 9:30 AM, Jake Sheck wrote:
> Thank you Ethan,
> 
> I ended up trying DODSNetcdfFile because it was the only way I could
> get the netcdf library to read from nomads.ncdc.noaa.gov/thredds without
> a Content Length error, or Range Access error. I was hoping that there
> was some header that I could add to my request that would allow me to
> query the thredds dods server with these features. The netcdf version
> which I am using 4.2.20, seems to only have static method for dods via
> open(String location, int buffer_size, ucar.nc2.util.CancelTask
> cancelTask, Object iospMessage) which nomads at ncdc doesn't seem to
> support.
> 
> Can netcdf make a query equivilent to
http://nomads.ncdc.noaa.gov/thredds/dodsC/ruc13/201110/20111020/ruc2_130_20111020_1300_000.grb2.asc?Temperature[0][2][100][300]
?
> 
> Thank You
> Jacob Sheck
[snip]



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: