I shut off the missing .rc file log message.
=Dennis Heimbigner
Unidata
Don Murray wrote:
Pablo-
On 2/11/12 5:59 AM, Pablo Rozas Larraondo wrote:
Thanks Don, I didn't notice the changes in the variable names. The RC
stuff remains as an INFO: No .rc file found, so I will not pay much
attention to it.
I think the name changes will trip up a lot of people, so you're in good
company. ;-)
John will have to chime in on the RC issue.
Don
I'm not sure about the RC stuff, but it looks like you are getting a
NullPointerException at line 39 which means that uwindgrid is null.
I suspect that is due to the variable name changes in 4.3. If
findGridDatatype can't find the grid, it will return null.
Don
On 2/10/12 11:47 AM, Pablo Rozas Larraondo wrote:
Hello,
I've completed the recommended emergency shutdown of my project,
as I
was working with grib files and 4.2 API version ;-)
Once updated my build path to the new 4.3 version, I'm having
some
problems compiling the same code:
Code:
37 GridDataset gds = GridDataset.open("~/myfile.__grb");
38 GridDatatype uwindgrid =
gds.findGridDatatype("U___component_of_wind");
39 GridCoordSystem gcs = uwindgrid.getCoordinateSystem(__);
Error message:
Feb 10, 2012 7:11:29 PM ucar.nc2.util.rc.RC loadDefaults
INFO: No .rc file found
Exception in thread "main" java.lang.NullPointerException
at Test.main(Test.java:39)
I've checked the new javadoc and all the used methods seem to
be the
same, but I can't find any reference to ucar.nc2.util.rc.RC
class to
trace back the NullPointerException... Any suggestions?
Thank you everybody for your help,
Pablo Rozas
AEMet
This body part will be downloaded on demand.
--
Don Murray
NOAA/ESRL/PSD and CIRES
303-497-3596
http://www.esrl.noaa.gov/psd/__people/don.murray/
<http://www.esrl.noaa.gov/psd/people/don.murray/>
_________________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx <mailto:netcdf-java@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/__mailing_lists/
<http://www.unidata.ucar.edu/mailing_lists/>
_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/