[ncl-install] Getting fatal error message when trying to run an .nc file

Mary Haley haley at ucar.edu
Wed Apr 20 09:20:16 MDT 2016


Sara,

In the future, please post NCL usage questions to ncl-talk at ucar.edu. You
need to subscribe first:

http://mailman.ucar.edu/mailman/listinfo/ncl-talk

The ncl-install list is for installation questions on NCL.

What happens if you run "ncl_filedump" on the file instead of ncdump?

ncl_filedump geos_ftsc_accri.cam2.h1.2005-07-01-00000.nc

--Mary



On Tue, Apr 19, 2016 at 10:58 PM, Farrell, Sara <slfarrel at live.unc.edu>
wrote:

> Hi,
>
> I’ve been using the command ncl -x ./scriptname to open this however I
> keep getting a message
>
> "fatal:syntax error: line 1 in file ./
> geos_ftsc_accri.cam2.h1.2005-07-01-00000.nc before or near
> CDF
> ---^
> fatal:error in statement”
>
> I tried inspecting the file using the command “ncdume filename | more” and
> looked in line 1 however am unsure what to fix. This is what it says
>
> "netcdf geos_ftsc_accri.cam2.h1.2005-07-01-00000 {“
>
> Thanks for any help - let me know if you need more information
>
> Best,
> Sara
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20160420/a537fabe/attachment.html 


More information about the ncl-install mailing list