After you open the Netcdf file, use NetcdfFile.getVariables() to find out what
variables are present in the file. Similarly, call getAttributes(),
getDimensions(), etc.
Unidata Support wrote:
------- Forwarded Message
To: support@xxxxxxxxxxxxxxxx
From: fabrice.ayreault@xxxxxxx
Subject: Read netcdf files
Organization: ?
Keywords: 200509261241.j8QCfIYJ026246 netCDF Java
Hi
I use the Netcdf librairy for java but I have some problems . I try with a
netcdf file but I have to specify the name of the variables. I need a program
which can read all the netcdf files without saying the name of the variables or
anything else. I don't know if it is possible . So if you can help me to read
netcdf files , it will be great.
Thank you very much
Fabrice
--
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.
------- End of Forwarded Message