[ncl-talk] rgrid2rcm too slow?
Dennis Shea
shea at ucar.edu
Wed Mar 29 10:25:25 MDT 2017
Rather than:
Opt at InterpMethod = "patch"
Try
Opt at InterpMethod = "bilinear" ; or "conserve"
===
I think that "patch" was developed to attain highly accurate
derivatives.
On Wed, Mar 29, 2017 at 10:07 AM, xiaoming Hu <yuanfangcan at hotmail.com>
wrote:
> Dennis
>
>
> Thanks a lot! Yes, ESMF_regrid is much quicker.
>
> It mostly worked for me except negative values generated,
>
> see my original data shown at http://www.caps.ou.edu/
> micronet/CO2_and_otherGHG/WRFV3.8.1/YSU/wrfchem3.8.1_
> NARR_CONUS_nudge2_tracer16_Comet.2011080600/wrfout_d01_E_CO2_EDGAR_2.png
>
> and the interpolated data shown
>
> at http://www.caps.ou.edu/micronet/CO2_and_otherGHG/
> WRFV3.8.1/YSU/wrfchem3.8.1_NARR_CONUS_nudge2_tracer16_
> Comet.2011080600/wrfout_d01_E_CO2_0.png
>
> You may notice in the right-lower corner the contour information shows
> Min=-20.745
>
>
> Any suggestion to improve this?
>
> My interpolation script at http://www.caps.ou.edu/
> micronet/CO2_and_otherGHG/WRFV3.8.1/YSU/wrfchem3.8.1_
> NARR_CONUS_nudge2_tracer16_Comet.2011080600/Interp_
> edgar42_to_wrfchemi_NEI.ncl
>
>
> Thanks a lot!
>
> Xiaoming
> ------------------------------
> *From:* Dennis Shea <shea at ucar.edu>
> *Sent:* Tuesday, March 28, 2017 11:39:23 AM
> *To:* xiaoming Hu
> *Cc:* ncl-talk at ucar.edu
> *Subject:* Re: [ncl-talk] rgrid2rcm too slow?
>
> rgrid2rcm can be slow.
>
> Use ESMF: there are exam
> http://www.ncl.ucar.edu/Applications/ESMF.shtml
>
> There are numerous examples of going from rectilinear ('rgrid') to
> curvilinear ('rcm')
> Examples 9, 15, 28-30, 32, 33,
>
> HTH
>
>
> On Tue, Mar 28, 2017 at 9:30 AM, xiaoming Hu <yuanfangcan at hotmail.com>
> wrote:
>
>> I am doing
>>
>> "
>> dummy1 = rgrid2rcm (elat, elon, emi_co2, lat2d, lon2d, 0)
>> "
>>
>> where lat2d and lon2d have a dimension of 442x265
>>
>>
>> The script appears to take forever.
>>
>>
>> Any other ways to do a faster interpolation?
>>
>>
>> Thanks a lot!
>>
>> Xiaoming
>>
>> _______________________________________________
>> 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/20170329/e795e62f/attachment-0001.html
More information about the ncl-talk
mailing list