NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: netCDF file works in v2.0 but not v2.1

Hi Bill-

Could you send a note to support-idv@xxxxxxxxxxxxxxxx with
a pointer to the file on an http or ftp server (or if it's
small, attach it to the message).  We recently had another
inquiry about a similar problem and would like to check
into this further.   For the other user, it appeared to
be a problem in the underlying netCDF library and using the
latest stable beta worked.  You could get that at:

http://www.unidata.ucar.edu/software/idv/release/stable

and try it if you are daring. ;-)

Don Murray

Gustafson, William I wrote:
Hi,

I just upgraded from v2.0 of IDV to v2.1. I have a netCDF file that works in
v2.0, but when I use it in v2.1 it does not. I am able to open the file, but
when I choose a variable for a contour plot I get error:
    An error has occurred:
    Couldn¹t get data
    java.lang.NullPointerException
This gets followed by another error dialog box saying ³Unable to load field:
T2². The sequence gets repeated twice. Below is the header output for the
file if that helps anybody decipher this one.

Thanks for your help.

-Bill


HEADER INFO...

netcdf test {
dimensions:
    WEST_EAST5_125 = 121 ;
    SOUTH_NORTH20_170 = 151 ;
variables:
    double WEST_EAST5_125(WEST_EAST5_125) ;
        WEST_EAST5_125:point_spacing = "even" ;
        WEST_EAST5_125:axis = "X" ;
    double SOUTH_NORTH20_170(SOUTH_NORTH20_170) ;
        SOUTH_NORTH20_170:point_spacing = "even" ;
        SOUTH_NORTH20_170:axis = "Y" ;
    float XLONG(SOUTH_NORTH20_170, WEST_EAST5_125) ;
        XLONG:missing_value = -1.e+34f ;
        XLONG:_FillValue = -1.e+34f ;
        XLONG:long_name = "XLONG" ;
        XLONG:long_name_mod = "T=0.5:8.5@AVE" ;
        XLONG:history = "From cam-wrfout_d01_1994-01-new" ;
        XLONG:units = "degree_east" ;
    float XLAT(SOUTH_NORTH20_170, WEST_EAST5_125) ;
        XLAT:missing_value = -1.e+34f ;
        XLAT:_FillValue = -1.e+34f ;
        XLAT:long_name = "XLAT" ;
        XLAT:long_name_mod = "T=0.5:8.5@AVE" ;
        XLAT:history = "From cam-wrfout_d01_1994-01-new" ;
        XLAT:units = "degree_north" ;
    float HGT(SOUTH_NORTH20_170, WEST_EAST5_125) ;
        HGT:missing_value = -1.e+34f ;
        HGT:_FillValue = -1.e+34f ;
        HGT:long_name = "HGT" ;
        HGT:long_name_mod = "T=0.5:8.5@AVE" ;
        HGT:history = "From cam-wrfout_d01_1994-01-new" ;
        HGT:units = "m" ;
        HGT:coordinates = "XLONG XLAT" ;
    float T2(SOUTH_NORTH20_170, WEST_EAST5_125) ;
        T2:missing_value = -1.e+34f ;
        T2:_FillValue = -1.e+34f ;
        T2:long_name = "T2" ;
        T2:long_name_mod = "T=0.5:8.5@AVE" ;
        T2:history = "From cam-wrfout_d01_1994-01-new" ;
        T2:units = "K" ;
        T2:coordinates = "XLONG XLAT" ;

// global attributes:
        :history = "Tue Mar  6 11:01:06 2007: ncatted -a
coordinates,T2,o,c,XLONG XLAT test.nc\n",
            "FERRET V5.81    6-Mar-07" ;
}



--------------------------------------------------------------------
William I. Gustafson Jr.
Atmospheric Science and Global Change Division
Pacific Northwest National Laboratory
3200 Q Ave., MSIN K9-30
Richland, WA 99352
(509)372-6110



--
*************************************************************
Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307
http://www.unidata.ucar.edu/staff/donm
*************************************************************






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