[ncl-talk] problem with fbindirread in NCL 6.2.1 (fine with NCL 6.2.0)

Xin Xi xin.xi30 at gmail.com
Sun Jan 11 22:09:23 MST 2015


Thanks Mary! The problem is indeed caused by the isfilepresent function.

On Sun, Jan 11, 2015 at 8:00 PM, Mary Haley <haley at ucar.edu> wrote:

> Xin,
>
> Without seeing any part of your script, it's hard to tell where the error
> is coming from.
>
> Are you using "isfilepresent", by any chance, to check for the presence of
> the binary files? If so, it's important to know that this function changed
> in V6.2.1, and only works on supported formats like NetCDF, HDF, GRIB,
> shapefiles, and HDF-EOS.  To test for the presence of binary (or ASCII)
> files, use "fileexists" instead, which was added in V6.2.1.
>
> For more information, see:
>
>
> http://www.ncl.ucar.edu/current_release.shtml#BackwardsIncompatibleChanges6.2.1
>
> If this doesn't fix your problem, then it would help if you post back to
> ncl-talk your script and indicate on which line you are getting the error
> message.
>
> Thanks,
>
> --Mary
>
>
>
> On Sat, Jan 10, 2015 at 5:09 PM, Xin Xi <xin.xi30 at gmail.com> wrote:
>
>> Hello,
>> I recently ran an old script that works with NCL v6.2.0 but is having
>> errors with v6.2.1. The script reads a number of binary files (file name
>> ends with .grd), and write to netcdf. The error is:
>> fatal:An internal error has occurred. The file format requested does not
>> appear to be supported
>>
>> Is this a glitch?
>> Thanks,
>> Xin
>>
>> _______________________________________________
>> ncl-talk mailing list
>> 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/20150111/efe22119/attachment.html 


More information about the ncl-talk mailing list