Using ncl_convert2nc

From: Tom Mot <mot.80_at_nyahnyahspammersnyahnyah>
Date: Mon Dec 12 2011 - 03:36:19 MST

Hello,

I want to work with "ncl_convert2nc" under WindowsXP.

I have installed cygwin and so on. Cygwin is running well and NCL displays its version 6.0.0 successfully.

Now I want to convert a grib file to netcdf with your program "ncl_convert2nc".

I have placed the grib file in /cygwin/usr/local/bin/_work/baro_00h.grib.

Now I type the following command:

myUserName@computerName /usr/local
$ ncl_convert2nc /bin/_work/baro_00h.grib

But it fails like this:

Processing file: baro_00h.grib...
 Copyright (C) 1995-2011 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.0.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
warning:Unable to Get System Resource File Name?
warning:Unable to load System Resource File (null)
fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory
warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL
fatal:GetSysAppDir:Unable to get a default value for the system App Resource directory
warning:["Resources.c":734]:Unable to set appSysDir to default value - Using NULL
warning:Unable to Get System Resource File Name?
warning:WorkstationClassInitialize:Unable to access rgb color database - named colors unsupported:[errno=2]
NDV_COLORMAP_PATH environment variable not set:
        defaulting to .:$NCARG_ROOT/lib/ncarg/colormaps
warning:["Palette.c":1527]:NhlLoadColormapFiles: Invalid directory encountered in colormap path specification
fatal:_NclFileCreate: Requested file does not exist as (/bin/_work/baro_00h.grib) or as (/bin/_work/baro_00h), can't add file
fatal:getfilevarnames: file does not exist
fatal:Execute: Error occurred at or near line 227 in file /tmp/tmp292.ncl

 

What is the reason?
What is my mistake?

Sincerely,
Thomas Brenz

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Mon Dec 12 03:36:27 2011

This archive was generated by hypermail 2.1.8 : Wed Dec 21 2011 - 10:45:42 MST