Could not open NetCDF file

Diane Stokes Diane.Stokes at NOAA.GOV
Wed Jan 17 19:01:43 EST 2007


Dear Sachin,

I have *very* limited experience with the windows version of grads, but...

I got a similar error (but not as polite) trying to display tor using
your descriptor file on my win2k platform.

However, I was able to display tor on a unix platform using your
descriptor file (modified dset only).

So, I copied a different netcdf file which I could open directly using
sdfopen to my win2k box and successfully displayed its data.

I made a descriptor file for that netcdf file and opened it with
xdfopen, which resulted in an error when displaying the data on win2k.



So, based on the above, I have three options to suggest:

1) Modify your metadata to be COARDS compliant so you can sdfopen the
netcdf file directly (no descriptor file).

2) If you have access to grads on a unix or linux platform, move your
data there.

Or,
3) Convert your data to a flat binary or grib file.

    Good luck.
       Diane


Sachin Ghude wrote:
> Hi,
>
> I would like to open the NetCDF file TORM2000 via a data descriptor file TOR.ctl.
>
> when I run TOR.ctl in NC GRADS, it successfuly open the file.
> But when I try to disply the variable tor using "d tor" command a message comes
> as "GradsNC.dll has encountered a problem and needs to close.  We are sorry for the
> inconvenience."
>
> I also tried the option following option:
>
>  Changed TOR=>tor 1 99 Tropospheric Ozone Residual
>> to
>> TOR=>tor 0 99 Tropospheric Ozone Residual
>
>
>
> I have attached both the file TORM2000.nc and TOR.ctl with this mail...
>
> Would you please advice again how I can deal with this problem. I am wsing Windows XP
> operating system.
>
> sachin

--
Diane Stokes
Environmental Modeling Center
National Weather Service/NOAA



More information about the gradsusr mailing list