[ncl-talk] Error in "cremapbin"

Ciao Kai Liang ciaokailiang at gmail.com
Sat Jun 18 08:59:59 MDT 2016


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
------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160618/fc203495/attachment.html 


More information about the ncl-talk mailing list