[Wrf-users] NCL Script to extract ASCII data from wrfout (Peter Tuju)
Nikhil Garg
nikhilgarg.gju at gmail.com
Wed May 25 23:05:55 MDT 2016
in ncl, specific to wrfoutput there are functions for doing such as thing
You can used wrf_user_latlon_to_ij for locating the nearest i,j indiex to
your latitude, longitude and then you will extract the values at those
indices.
http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_user_latlon_to_ij.shtml
I have attached a script which does something similar, however it does more
than you need so you might have to edit it quite heavily. Also, it depends
on the most recent ncl version, i.e. 6.2 or greater, so you will have to
check it out yourself.
If you need any help with this script do write back and I will try and help
you figure out, or you can search what each function does on ncl website.
On 26 May 2016 at 03:41, Juan Jose Amides Figueroa Urbano <
juanjosefigueroa at gmail.com> wrote:
> Its necesary work with NCL?? i have a script to do the extraction in GrADS
> if you want it is attached.
>
>
>
> jn 3:16
>
>
> On Wed, May 25, 2016 at 12:00 PM, <wrf-users-request at ucar.edu> wrote:
>
>> Send Wrf-users mailing list submissions to
>> wrf-users at ucar.edu
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>> or, via email, send a message with subject or body 'help' to
>> wrf-users-request at ucar.edu
>>
>> You can reach the person managing the list at
>> wrf-users-owner at ucar.edu
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of Wrf-users digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Re: NCL Script to extract ASCII data from wrfout (Peter Tuju)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 25 May 2016 04:37:40 +0000 (UTC)
>> From: Peter Tuju <peterenos at ymail.com>
>> Subject: Re: [Wrf-users] NCL Script to extract ASCII data from wrfout
>> To: "wrf-users-request at ucar.edu" <wrf-users-request at ucar.edu>,
>> wrf-users at ucar.edu
>> Message-ID:
>> <316471855.208077.1464151060245.JavaMail.yahoo at mail.yahoo.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> blockquote, div.yahoo_quoted { margin-left: 0 !important;
>> border-left:1px #715FFA solid !important; padding-left:1ex !important;
>> background-color:white !important; }
>> Dear wrf users,?Please help me with the ncl script to extract ascii
>> parameters say RAINC, RAINNC, T2, RH, U_10m, V_10m etc from wrfout.nc at
>> a specific point latitude and longitude ?and save the output in a . csv or
>> . txt format. Please help, I'm totally bored now!!!
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL:
>> http://mailman.ucar.edu/pipermail/wrf-users/attachments/20160525/3c78d6bc/attachment-0001.html
>>
>> ------------------------------
>>
>> _______________________________________________
>> Wrf-users mailing list
>> Wrf-users at ucar.edu
>> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>>
>>
>> End of Wrf-users Digest, Vol 141, Issue 15
>> ******************************************
>>
>
>
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20160526/cd4c56f6/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extractTimeSeries.ncl
Type: application/octet-stream
Size: 4924 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/wrf-users/attachments/20160526/cd4c56f6/attachment-0001.obj
More information about the Wrf-users
mailing list