[ncl-talk] Error in "cremapbin"

Dennis Shea shea at ucar.edu
Sun Jun 12 07:22:09 MDT 2016


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


More information about the ncl-talk mailing list