Re: cylindrical equidistant plot

From: Agnes Lim Huei Ni <alim_at_nyahnyahspammersnyahnyah>
Date: Mon Nov 04 2013 - 16:41:52 MST

Hi Dave,

In real fact I didnt want the filled value in the middle.
I comment out tfDoNDCOverlay from the script u gave but it didnt seem
to have any effect.

Agnes

On 11/4/13 5:23 PM, David Brown wrote:
> Hi Agnes,
> I think if you look closely at this plot you will see that the max and min latitudes show up just as documented. Also you can get a plot that looks similar to
> the GrADS plot, with tfDoNDCOverlay set to True. You need to set some other resources to make the data match the projection space. I am attaching a script that does that.
> -dave
>
>
>
> On Nov 4, 2013, at 3:57 PM, Dennis Shea <shea@ucar.edu> wrote:
>
>> I am attaching a cleaned up script. User commented code make
>> it hard to follow.
>>
>> I made comments in code. There are missing values.
>>
>> Cheers
>>
>> On 11/4/13 3:08 PM, Agnes Lim Huei Ni wrote:
>>> Dennis,
>>>
>>> Only 1 grib file is needed. I apologise for not commenting this
>>>
>>> anal_file="/data/alim/projects/osse/geo_hyper/WRF_fc/anl/wrfout_d01_2008052400_anl_nmm.grb"
>>>
>>>
>>> Removing res@tfDoNDCOverlay = True does removed the filled space around
>>> the Africa region.
>>>
>>> The min and max values of latitude are min=-48.076 and max=56.076.
>>> From the figure it didn't look like it went to that.
>>> ftp://ftp.ssec.wisc.edu/pub/ssec/alim/1_OSSE_Global_T_outer_loop_2_98_95_92_89_tm00.pdf
>>>
>>>
>>> Is it just because of my projection?
>>>
>>> Thanks
>>> Agnes
>>>
>>>
>>>
>>> On 11/4/13 3:40 PM, Dennis Shea wrote:
>>>> You did not make both grib files available so the
>>>> script can not be tested.
>>>>
>>>> Try deleting or commenting
>>>> res@tfDoNDCOverlay = True
>>>>
>>>>
>>>> On 11/4/13 2:15 PM, Agnes Lim Huei Ni wrote:
>>>>> Hi,
>>>>>
>>>>> I wish to make a temperature plot from a grib file whose lat and lon are
>>>>> given as cylindrical equidistant.
>>>>> Using the gsn_csm_contour_map_ce, the figure was plotted but does not
>>>>> look right.
>>>>>
>>>>> The relevant files have been uploaded to
>>>>> ftp://ftp.ssec.wisc.edu/pub/ssec/alim/
>>>>>
>>>>> The figure I made has the filename
>>>>> OSSE_Global_T_outer_loop_2_98_95_92_89_tm00.pdf
>>>>> <ftp://ftp.ssec.wisc.edu/pub/ssec/alim/OSSE_Global_T_outer_loop_2_98_95_92_89_tm00.pdf>
>>>>>
>>>>>
>>>>>
>>>>> The model domain should looked like the one in Screen_Shot.png.
>>>>>
>>>>> I would expect the filled value area shown in white in the pdf over
>>>>> Africa to be at the edge of the plot, that is in the Pacific like in
>>>>> tmp_grib.png.
>>>>>
>>>>> The script file and data can also be found in this directory.
>>>>>
>>>>> Please advice
>>>>>
>>>>> Thanks
>>>>> Agnes
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ncl-talk mailing list
>>>>> List instructions, subscriber options, unsubscribe:
>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>>
>> <AgnesLim.ncl>_______________________________________________
>> 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
Received on Mon Nov 4 16:42:04 2013

This archive was generated by hypermail 2.1.8 : Mon Nov 11 2013 - 09:45:33 MST