[ncl-talk] I can't overlay a contour on a map plot
Tao Lu
hakufu.asano at gmail.com
Mon Jan 16 20:37:37 MST 2017
Dear Mary
Thank your for your kind reply and beautiful code file.
I couldn't overlay map and contour correctly.
Maybe I should choose gsn_csm_contour_map.
Thank you very much.
I will take care about attaching large file next time.
Yours sincerely,
Tao
> El 17 ene 2017, a las 7:12, Mary Haley <haley at ucar.edu> escribió:
>
> Dear Tao,
>
> In the future, please be careful about including large attachments to emails that you send to ncl-talk. There are hundreds of users on this list and not everybody's mailers can handle these large files.
>
> I'm not sure what you mean by your question. Did you get a bad plot or an error message?
>
> A few issues that I see is that your "radar" data contains missing values, and in fact, it contains both -999 and -9999.
>
> I've included a new version of your script that is somewhat simplified. I wanted to be sure your data was plotting correctly. Here are some things I did:
> I read the data as floats instead of strings thinking this would make the data read faster, but it doesn't really.
>
> I set a missing value for your radar data.
>
> Instead of calling gsn_csm_map, gsn_csm_contour, and overlay, I just called gsn_csm_contour_map, but this is not necessary.
>
> I drew the contours both as smoothed and raster contours, again, for debugging purposes.
>
> I added markers (third plot) to show where the data is >= 0.1, just for debugging purposes.
> As far as I can tell, the radar data seems to be plotting correctly.
>
> Are you getting different results?
>
>
>
>> On Mon, Jan 16, 2017 at 4:40 AM, Tao Lu <hakufu.asano at gmail.com> wrote:
>>
>> crain_composite_2015.09.09.00.00_UTCDear ncl-talk
>>
>> As the title said, please help me find out why I can't overlay a contour on a map.
>>
>> I attached the script and data needed.
>>
>> Please help me.
>>
>> Tao
>>
>> --
>> ******************************************************
>> Tao Lu (M. Eng)
>> Laboratory of River Engineering and Hydrology,
>> Dept. of Civil and Environmental Engineering,
>> Graduate School of Science and Engineering,
>> Chuo University
>>
>> 1-13-27,Kasuga,Bunkyo-ku,Tokyo
>> 112-8551, Japan
>> TEL: 03-3817-1805; Phone: 070-2188-7509
>> Email1: hakufu.asano at gmail.com
>> Email2: lutao at civil.chuo-u.ac.jp
>> *****************************************************
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
> <test_complex.000003.png>
> <test_complex.000002.png>
> <test_complex.000001.png>
> <simple_plot.ncl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170117/14eb8129/attachment.html
More information about the ncl-talk
mailing list