[ncl-talk] about wrf_map_resources
Mary Haley
haley at ucar.edu
Thu Nov 2 14:58:52 MDT 2017
Hi again,
If you are using a rotated lat/lon projection, which it sounds like you
are, then one of our developers recommended that you try NCL V6.4.0. He
thinks he fixed a bug related to what you are doing.
If you can provide me with the file and a script, then I'll be happy to
test NCL V6.4.0, if you are hesitant about downloading it.
--Mary
On Wed, Nov 1, 2017 at 4:38 PM, Mary Haley <haley at ucar.edu> wrote:
> Dear Stergios,
>
> Nothing immediately jumps to mind about what the problem is.
>
> Is it possible for you to provide the necessary data files that your
> script uses? I need to see why the mpCorner resources are set for the case
> of MAP_PROJ = 6.
>
> You can use our ftp site to upload the files, if they are not too large.
> See:
>
> http://www.ncl.ucar.edu/ftp_files.shtml
>
> Thanks,
>
> --Mary
>
>
> On Tue, Oct 31, 2017 at 1:10 PM, ???????? ???????? <skartsio at hotmail.com>
> wrote:
>
>> Dear NCL-users
>>
>>
>>
>> I’m encountering a strange behavior regarding the wrf_map_resources
>> function in NCL’s WRFUserARW.ncl file. I’m trying to plot precipitation
>> field from a wrfout file (tot_rain_gsn_d01.ncl). Map projection is Lat/Lon
>> as you can see in ncdump.txt while a rotated grid is assumed. The domain is
>> the EURO-CORDEX domain.
>>
>> Just for clarification, I want to plot in native grid, for that I enabled
>> the options below,
>>
>> res at tfDoNDCOverlay = True
>>
>> res at gsnAddCyclic = False
>>
>>
>>
>> NCL version is 6.3.0
>>
>>
>>
>> When I use the default WRFUserARW.ncl file, I get the following error,
>>
>> (0) gsn_csm_map_ce: Fatal: The resources mpMinLonF/mpLeftCornerLonF
>> must be less than the resources mpMaxLonF/mpRightCornerLonF.
>>
>> (0) Execution halted,
>>
>> which as I understand is due to this information,
>>
>> mpRightCornerLonF : 68.72884
>>
>> mpRightCornerLatF : 66.90226
>>
>> mpLeftCornerLonF : 349.4225
>>
>> mpLeftCornerLatF : 20.57643
>>
>> mpLimitMode : Corners
>>
>> upon printing wrf_map_resources.
>>
>> The error is eliminated when I set mpLeftCornerLonF = min(pr at lon2d), as
>> you can see in tot_rain_gsn_d01.ncl. By doing this I get the image in
>> d01_rain_total_minlat.png file.
>>
>> I tried to play around with the options in WRFUserARW.ncl file, in the
>> section where wrf_map_resources function is located with no success. For
>> example when I disable the mpCenterRotF option, I get the
>> d01_rain_total_NOmpCenterRotF.png file. Moreover, when I add the
>> mpCenterLatF option while turning on again the mpCenterRotF option, I get
>> the d01_rain_total_mpCenterRotF-mpCenterLatF.png file.
>>
>> What am I missing? Maybe some additional code is required?
>>
>> Any help is appreciated.
>>
>>
>>
>> Stergios Kartsios
>>
>> Dep. of Meteorology and Climatology
>>
>> Aristotle University of Thessaloniki
>>
>> Greece
>>
>> _______________________________________________
>> 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/20171102/283213f1/attachment.html>
More information about the ncl-talk
mailing list