I don't have a CMIP5 file that spans the dates you specified
nor the variable pr. Hence, I substituted a file containing 'ts'
and used different dates.
[1] The 'lonflip' function reorders both the array *and* the
lon coordinate variable. Look at the printVarSummary(...)
The user need not have manually reorder the lon.
I recommend using the lat/lon coordinates associated
with the variable pr&lat and pr&lon
[2] Since you are specifying regional regridding the following
must be set
Opt@SrcRegional = True
Opt@DstRegional = True
[3] The way you added plotting of grid points would not do
what you want :-)
Attached is a script and the image
good luck
On 1/24/14, 4:40 PM, ousmane ndiaye wrote:
> Hi,
> I was giving a try to
> http://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_21.ncl but over
> west africa while crossing the dateline. I have problem with the output
> likely related to flipping the longitude.
> here is attached : the modified code and the output.
> It's just a try so you can try it with any file.
>
> another "annoying" thing whenever a multiply a variable with a constant I
> lost the metadata is there a way out to conserve the metadata.
> Ousmane
> thanks
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 16:39:11 MST