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

[netCDFJava #IQQ-460810]: issue opening a file as dods vs. local file

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDFJava #IQQ-460810]: issue opening a file as dods vs. local file
  • Date: Wed, 05 Sep 2012 15:10:33 -0600

ok,I got the file to serve up using this url:
http://motherlode.ucar.edu:8081/thredds/dodsC/testdods/K1VHR_05JUL2012_0700_L2B_OLR.h5
It is readable by toolsUI and by the netcdf-c library
(although it drops the variables whose name has a '/' in it,
as expected).

You might try the following experiment.
In your home directory, create a file
called ".dodsrc".
In this file, insert this line:

ucar.nc2.cdm.usegroups=false

and see what happens to you attempts
to read the file.
You can use the motherlode url above if you want.

What I think is happening is that by default
those '/' characters are causing groups to be created
and the variables are inside those groups. If you
are not aware of the groups, then those variables
will appear to be missing. By turning off the group
flag (the .dodsrc line above), the variables will
be created in the top level. They will be visible,
but probably with odd names.




=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: IQQ-460810
Department: Support netCDF Java
Priority: Urgent
Status: Closed