[ncl-talk] NCDC climate divisions with real data and analysis

Mary Haley haley at ucar.edu
Sat Oct 24 19:08:46 MDT 2015


Ashish,

I realized later that you had asked for a WRF example.  I had actually done
one, but gave you a different example script.

Here's the script that uses WRF data.  I've attached a new
shapefile_average_data.ncl script, too, that is more general, but the one I
sent before should still work.

--Mary


On Fri, Oct 23, 2015 at 4:24 PM, Ashish Sharma <asharma7 at nd.edu> wrote:

> Thanks Mary. It is very helpful. Highly appreciated.
> I will try it and get back to you if I need more help.
>
> thanks,
> Ashish
>
> On 23-Oct-2015, at 6:07 pm, Mary Haley <haley at ucar.edu> wrote:
>
> Ashish,
>
> See the attached "shapefile_mask_using_ts_Amon.ncl" script, which uses a
> file you can download from:
>
> http://www.ncl.ucar.edu/Applications/Data/
>
> The shapefile was downloaded from NOAA.
>
> http://www.esrl.noaa.gov/psd/data/usclimdivs/boundaries.html
>
> The shaepfile_average_data.ncl script contains the procedure that draws
> the colored polygons based on the climate divisions in the shapefile.  It
> says it only works for rectilinear grids, but it should work for
> curvilinear grids if you've attached the curvilinear lat/lon arrays as
> attributes lat2d/lon2d (like you would for plotting)
>
> I'm rushing a bit as I send these files, but I hope I got everything.  Try
> it with:
>
> ncl shapefile_mask_using_ts_Amon.ncl
>
>
> --Mary
>
>
>
> On Sun, Oct 18, 2015 at 2:51 PM, Dennis Shea <shea at ucar.edu> wrote:
>
>> Also ... see
>>
>> http://www.ncl.ucar.edu/Applications/shapefiles.shtml
>>
>> Example 13
>>
>>
>>
>> On Sun, Oct 18, 2015 at 1:55 PM, Jim Means <jim at weatherextreme.com>
>> wrote:
>>
>>> Hi Ashish,
>>>
>>> I'm not sure whether you have access to ArcGIS or something similar (I
>>> think you can get a six month trial version with some introductory books),
>>> but I found ArcGIS very useful for doing something like you're suggesting.
>>> I had a lot of data at various points, but the tricky part was sorting the
>>> data according to which climate division it fell into.  This was actually
>>> quite easy in ArcGIS...well, after learning the basics of the software it
>>> was easy.  Once you have the points sorted, then you can use NCL or Excel
>>> or whatever you like for doing further analysis.
>>>
>>> Not exactly an NCL solution, but it might work for you.
>>>
>>> Jim
>>>
>>>
>>>
>>> On 10/18/2015 12:30 PM, Ashish Sharma wrote:
>>>
>>> Hello friends,
>>>
>>> I didn’t get any response last time. Any suggestion!!!
>>>
>>> I want to plot WRF/netcdf data on NCDC climate divisions (CD) and thereafter may be perform some statistical analysis for CDs.
>>> NCL pages show that we can plot CDs and color code them.
>>> May be what I am thinking is to divide the data in CDs and perform respective CD’s means, correlations within a CD. Is it doable using NCL?
>>>
>>> If yes, any suggestions would help!
>>>
>>> thanks,
>>> Ashish
>>>
>>> _______________________________________________
>>> ncl-talk mailing listncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>> --
>>> <signaturelogo.png> <http://www.weatherextreme.com/>
>>>
>>> * James D. Means, Ph.D.*
>>> Atmospheric and Climate Scientist
>>> <jim at weatherextreme.com>jim at weatherextreme.com| vcard
>>> <http://www.weatherextreme.com/vcards/James%20MEANS.vcf>
>>> 930 Tahoe Blvd., Suite 802-560
>>> Incline Village, Nevada 89451
>>> www.weatherextreme.com
>>>
>>> <facebookicon.png> <https://www.facebook.com/wxextreme>
>>> <twittericon.png> <https://twitter.com/wxextreme> <linkedin.png>
>>> <http://www.linkedin.com/company/weatherextreme>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
> <shapefile_average_data.ncl><shapefile_mask_using_ts_Amon.ncl>
> <shapefile_mask_data.ncl><shapefiles_data.png>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151024/0df841bc/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrf_average.000002.png
Type: image/png
Size: 729017 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151024/0df841bc/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrf_average.000001.png
Type: image/png
Size: 308860 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151024/0df841bc/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrf_average.ncl
Type: application/octet-stream
Size: 3993 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151024/0df841bc/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefile_average_data.ncl
Type: application/octet-stream
Size: 6899 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151024/0df841bc/attachment-0003.obj 


More information about the ncl-talk mailing list