[ncl-talk] Reading NAM files

Guido Cioni guidocioni at gmail.com
Mon Nov 21 05:41:40 MST 2016


Hey Barry,

ncl_grib2nc is deprecated, please use ncl_convert2nc instead.
This is a shell command, you have to call it outside of NCL (in the terminal). I just tried and it worked, although with some warning... 
cheers

Guido Cioni
http://guidocioni.altervista <http://guidocioni.altervista/>.org

> On 21 Nov 2016, at 12:38, Barry Lynn <barry.h.lynn at gmail.com> wrote:
> 
> Hi:
> 
> I assume that I need to convert namanl files to .nc format before using NCL.
> 
> However, the attached program (which should be simple to execute) will not read the attached file.
> 
> Thank you for your help,
> 
> Barry
> 
> [wrf at mn03 NAM]$ ncl ./grib_to_ncl.ncl 
>  Copyright (C) 1995-2014 - All Rights Reserved
>  University Corporation for Atmospheric Research
>  NCAR Command Language Version 6.2.1
>  The use of this software is governed by a License Agreement.
>  See http://www.ncl.ucar.edu/ <http://www.ncl.ucar.edu/> for more details.
> fatal:syntax error: line 19 in file ./grib_to_ncl.ncl before or near namanl_218_20130208_0000_000 
>   ncl_grib2nc namanl_218_20130208_0000_000
> -----------------------------------------^
> 
> fatal:error in statement
> fatal:Syntax Error in block, block not executed
> fatal:error at line 21 in file ./grib_to_ncl.ncl
>>  namanl_218_20130208_0000_000.grb <https://drive.google.com/file/d/0B3E3GjUeKpBdQmJMZ01WVGdBRFk/view?usp=drive_web>​
> 
> -- 
> Barry H. Lynn, Ph.D
> Senior Lecturer,
> The Institute of the Earth Science, 
> The Hebrew University of Jerusalem, 
> Givat Ram, Jerusalem 91904, Israel 
> Tel: 972 547 231 170
> Fax: (972)-25662581
> 
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com <http://weather-it-is.com/>
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
> US 914 432 3108
> <grib_to_ncl.ncl>_______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161121/846c225d/attachment.html 


More information about the ncl-talk mailing list