[ncl-talk] Error in "cremapbin"

Ciao Kai Liang ciaokailiang at gmail.com
Mon Jun 20 09:49:50 MDT 2016


Hi Mary,

Thank you for your suggestion. The problem has been solved after I install
the newer GNU version. Thank you

Ciao

2016-06-20 12:31 GMT+08:00 Mary Haley <haley at ucar.edu>:

> Ciao,
>
> The ESMF_RegridWeightGen command, which is what NCL's ESMF regridding code
> depends on, cannot be compiled with the 4.1.2 GNU compilers.  The
> libgfortran error you're getting is likely because you have downloaded a
> version of NCL that was compiled with a newer version of the compilers than
> what you have, and this will definitely be the case for any version of NCL
> that includes ESMF_RegridWeightGen.
>
> When you download NCL, it should have included the compiler version that
> it was compiled with, for example, "
> ncl_​ncarg-​6.​3.​0.​Linux_​Debian6.​0_​x86_​64_​gcc445.​tar.​gz
> <https://www.earthsystemgrid.org/download/fileDownload.html?logicalFileId=e088d94c-cd9a-11e4-bb80-00c0f03d5b7c>"
> indicates that GNU version 4.4.5 was used.
>
> You will likely need to upgrade your compiler, or else try to fine a
> "compatible" libgfortran library to download. Please see this link for more
> information:
>
> http://www.ncl.ucar.edu/Download/linux.shtml#libgfortran
>
> --Mary
>
>
> On Sat, Jun 18, 2016 at 8:59 AM, Ciao Kai Liang <ciaokailiang at gmail.com>
> wrote:
>
>> Linux killdevil-login2.kd.unc.edu 2.6.18-238.12.1.el5 #1 SMP Sat May 7
>> 20:18:50 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
>>
>> gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55)
>> Copyright (C) 2006 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
>>
>> 2016-06-18 22:58 GMT+08:00 Dennis Shea <shea at ucar.edu>:
>>
>>> What do the following return?
>>>
>>>
>>> uname -a
>>> gcc --version
>>>
>>>
>>> On Sat, Jun 18, 2016 at 8:19 AM, Ciao Kai Liang <ciaokailiang at gmail.com>
>>> wrote:
>>>
>>>> Hi Dennis
>>>>
>>>> Thank you so much for providing this script for me. However, I
>>>> encounter the following message. Do you know what it means? It seems I
>>>> can't load libgfortran.so.3.
>>>>
>>>> ESMF_RegridWeightGen: error while loading shared libraries:
>>>> libgfortran.so.3: cannot open shared object file: No such file or directory
>>>> fatal:The result of the conditional expression yields a missing value.
>>>> NCL can not determine branch, see ismissing function
>>>> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 2291
>>>> in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>>>>
>>>> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 3166
>>>> in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>>>>
>>>> 2016-06-12 21:22 GMT+08:00 Dennis Shea <shea at ucar.edu>:
>>>>
>>>>> Forgot:
>>>>>
>>>>> [1] the last graphics should be 'png'
>>>>>
>>>>> [2] the script also (optionally) writes a netCDF of the regridded data
>>>>>
>>>>> On Sun, Jun 12, 2016 at 7:18 AM, Dennis Shea <shea at ucar.edu> wrote:
>>>>>
>>>>>> Certainly the CDO are an option.
>>>>>>
>>>>>> ==
>>>>>> There seems to be a bug:  area_conserve_remap_Wrap
>>>>>> ===
>>>>>> See attached. It uses ESMF conservative regridding
>>>>>>
>>>>>> This produces graphics and a weight file that could be used for other
>>>>>> similar regridding
>>>>>> Change "x11" to "ps", "pdf" or "pdf" as you see fit
>>>>>>
>>>>>> Good luck
>>>>>>
>>>>>> On Sat, Jun 11, 2016 at 12:56 AM, Guido Cioni <guidocioni at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hey Ciao,
>>>>>>> I never used NCL to remap. I would suggest you to try cdo, which has
>>>>>>> many option for mapping different grids, if you still have problems with
>>>>>>> NCL. See here : https://www.rsmas.miami.edu/users/rajib/cdo.pdf (section
>>>>>>> remapnn or remapdis)
>>>>>>> Cheers
>>>>>>>
>>>>>>> Guido Cioni
>>>>>>> http://guidocioni.altervista.org
>>>>>>>
>>>>>>> On 10 Jun 2016, at 15:39, Ciao Kai Liang <ciaokailiang at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>> I'm in attempt to regrid 144x91 to 360x720 (0.5x0.5) by using NCL’sarea_conserve_remap
>>>>>>> function. I get the error message and have no idea how to solve it.
>>>>>>>
>>>>>>>
>>>>>>> Error in "cremapbin":
>>>>>>>
>>>>>>> Could not map global lat array into grid array
>>>>>>>
>>>>>>> I check my input file which contains lon:valid_range = -180., 177.5
>>>>>>> (144) and lat : valid_range = -89.5, 89.5 (91). It should be global-based
>>>>>>> grid file.
>>>>>>>
>>>>>>> I attached my script and associated file for reference.
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> ---------------------------------------------------------------------------------------------------------
>>>>>>> CiaoKai Liang
>>>>>>> 919-808-8069
>>>>>>> ckliang at live.unc.edu
>>>>>>> University of North Carolina, Gillings School of Global Public Health
>>>>>>> 170 Rosenau Hall, CB #7400 | 135 Dauer Drive | Chapel Hill, NC
>>>>>>> 27599-7400
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------------------------------------
>>>>>>>
>>>>>>> <input_144X91.nc><output_360X720.nc><regrid.ncl>
>>>>>>> _______________________________________________
>>>>>>> ncl-talk mailing list
>>>>>>> ncl-talk at ucar.edu
>>>>>>> List instructions, subscriber options, unsubscribe:
>>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> ncl-talk mailing list
>>>>>>> ncl-talk at ucar.edu
>>>>>>> List instructions, subscriber options, unsubscribe:
>>>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> ---------------------------------------------------------------------------------------------------------
>>>> CiaoKai Liang
>>>> 919-808-8069
>>>> ckliang at live.unc.edu
>>>> University of North Carolina, Gillings School of Global Public Health
>>>> 170 Rosenau Hall, CB #7400 | 135 Dauer Drive | Chapel Hill, NC
>>>> 27599-7400
>>>>
>>>> ------------------------------------------------------------------------------------------------------------
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> ---------------------------------------------------------------------------------------------------------
>> CiaoKai Liang
>> 919-808-8069
>> ckliang at live.unc.edu
>> University of North Carolina, Gillings School of Global Public Health
>> 170 Rosenau Hall, CB #7400 | 135 Dauer Drive | Chapel Hill, NC 27599-7400
>>
>> ------------------------------------------------------------------------------------------------------------
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>


-- 
---------------------------------------------------------------------------------------------------------
CiaoKai Liang
919-808-8069
ckliang at live.unc.edu
University of North Carolina, Gillings School of Global Public Health
170 Rosenau Hall, CB #7400 | 135 Dauer Drive | Chapel Hill, NC 27599-7400
------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160620/1ab2a806/attachment.html 


More information about the ncl-talk mailing list