[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about TDS OpenDAP

Hi Estani:

1. a dods file is not a netcdf file, although i think there are some versions of ncdump that can work with dods. in short, you cant "get the netcdf file" through opendap.

2. it appears that the original file is netcdf, so you may just want to download the original file, in TDS you do that by enabling the "fileserver" service. note that you are just downloading the file to your local drive.

3. the metadata in the das and dds returns are equivalent to ncdump -h, if thats all you want.

4. panolpy uses the netcdf-java library, so it should work with the opendap endpoint.

5. recent versions of the netcdf C library can also work directly with the file remotely, through opendap.


On 1/17/2012 8:50 AM, Estanislao Gonzalez wrote:

This is what a user tried to do and it didn't work:

2> nc_dump_log.txt

The security is not the issue here as I can get it through the normal browser. AFAIK these are the supported OpenDAP formats:
.ascii - txt
.dods - some binary format (not NetCDF)
.dds - doesn't work with Gateway but it's just the metadata anyway
.das - doesn't work either for the same reason and I have no idea what it is (attribute values?)

I've downloaded the dods file, as I was going to tell the user this is what he should be downloading, but I couldn't open it with NASAs Panoply. I guess that's because it's not a NetCDF stream, it's some OpenDAP half binary stream. I don't have the ncdump program so I can't test this (the one I could find was linked to the 4.1.1 library and AFAICT it won't work because of the security.

Basically, the question would be: is it possible to get the NetCDF file via OpenDAP?
Should the user directly access the fileServer endpoint for that, even using ncdump?
Should *.nc.dods be the default endpoint for those cases?

Any information on  the subject would be greatly appreciated :-)


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.