[ncl-talk] Need convert a text to nc file-Edwin

Dennis Shea shea at ucar.edu
Wed Oct 12 08:18:48 MDT 2016


I have attached the script used to create the netCDF. The netCDF is at:
           http://www.cgd.ucar.edu/~shea/Barrow.txt.nc
<http://www.cgd.ucar.edu/%7Eshea/Barrow.txt.nc>

It is your responsibility to read the documentation of the functions used.

Good Luck

On Tue, Oct 11, 2016 at 9:59 PM, Stanley Edwin <sedwin at alaska.edu> wrote:

>>  Barrow.txt
> <https://drive.google.com/a/alaska.edu/file/d/0B5e9G7If5LpKNnFZU1gwejhHODA/view?usp=drive_web>
> ​Hello
>
> I have a file in txt format, and i need it with a time stamp so I could do
> multiple xy plots in ncl, however I do not have the expertise to convert
> this into an nc file. I can load and separate the columns and rows but I
> can not get the time stamp to work. Tried the NWS_NetCDF programs but still
> trying to figure out how it all works.
>
> The first row is the header list, there are 52 columns and what I am using
> is the first four columns, year, month, day, hour and minute and the
> columns 17 and 20, wind magnitude and direction, that's with ncl
> designation of the first column being 0.
>
> Thank You
> Stanley G. Edwin
> UAF
>
> _______________________________________________
> 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/20161012/125c30b1/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: txt2nc.Barrow.ncl
Type: text/x-ncl
Size: 5248 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161012/125c30b1/attachment.bin 


More information about the ncl-talk mailing list