[ncl-talk] Why the same scripts with "ESMF_regrid" function met error in mac OS while no error in Windows?

Mary Haley haley at ucar.edu
Fri Dec 9 10:51:29 MST 2016


Lin,

The script you attached only has 52 lines, whereas the error is coming from
line 127. I'm assuming the error happens on the ESMF_regrid line.

Also, did you include all of the error messages?  The reason I ask is that
the line number that this error is pointing to to indicates that it
happened when it tried to execute the ESMF_RegridWeightGen command.  This
is an application that should be in the same directory as the "ncl" command
($NCARG_ROOT/bin). If this file doesn't exist on your Mac in
$NCARG_ROOT/bin, then you should have seen another error message before the
error messages you emailed.

To get more debugging output, add this option:

   Opt at Debug  = True

This sometimes helps you better see the source of the problem.

Please run your script with this option set, and then email me all of the
output and the esmf_regrid_6_sic.ncl script.

Thanks,

--Mary



On Thu, Dec 8, 2016 at 8:42 AM, 林祥 <xianglin72 at icloud.com> wrote:

> Hi, all
>
>        I use the function of “ESMF_regrid” to regard some sea ice data of
> CMIP5 results. I find that the script run well in the windows (cygwin)
>
> while met some error  in Mac OS 10.11.5 (El Captain). The error message
> were listed below :
>
>
>  fatal:The result of the conditional expression yields a missing value.
> NCL can not determine branch, see ismissing function
>
> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 2938 in
> file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
>
> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 4027 in
> file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
>
> fatal:["Execute.c":8575]:Execute: Error occurred at or near line 127 in
> file /Users/linx/Data/CMIP5_SIC/sic/esmf_regrid_6_sic.ncl
>
>
>         My script was also attached for this mail,  I use this scripts to
> regrid sea ice concentration dataset from multiple CMIP5 model output. I’ve
> talk about
>
> this problem with Hoffman and thank for his help. But my problem have not
> been resolved since I just use Mac pro for working and the PC (windows) is
> not belong
>
> to me (I can let someone test the script in Windows for me, But the major
> work should be done by me in Mac pro.)
>
>
> Thank
>
>
> LIN
>
>
>
> _______________________________________________
> 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/20161209/4a291840/attachment.html 


More information about the ncl-talk mailing list