Re: Whether someone can give same kind of output in NCL ???

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 06 2013 - 09:01:37 MST

Dear Dona,

Jim pointed you to the correct page that shows you how to read ASCII files:

http://www.ncl.ucar.edu/Applications/read_ascii.shtml

One of these examples, for reading "asc5.txt", shows you how to convert the ASCII file to NetCDF. This ASCII file

Since you are new to NCL, I have modified this example to work with your data. I've attached the file here. It is a modification of the "ascii_delim.ncl" script on the page Jim pointed you to.

New users of NCL should visit our "getting started" page at:

http://www.ncl.ucar.edu/get_started.shtml

In particular, you should look at the Mini Language Reference Manual on that page.

--Mary

On Nov 5, 2013, at 12:36 PM, Don DNA <don_vbe@yahoo.com> wrote:

> Thank you one and all...NCL userlist is not co-operative...its my very first time..really disspointed.
>
> -Dona Clara
>
>
> On Tuesday, November 5, 2013 12:32 AM, Jim Means <jmeans@ucsd.edu> wrote:
> Hello Dona,
>
> I am no expert on NCL, so whenever I want to do anything in NCL I usually go to the examples page and see if there are any examples that match what I'm trying to do:
>
> http://www.ncl.ucar.edu/Applications/
>
> Just glancing at them, there are a couple that might be useful, one on reading ASCII and the other on writing NetCDF:
>
> http://www.ncl.ucar.edu/Applications/read_ascii.shtml
> http://www.ncl.ucar.edu/Applications/o-netcdf.shtml
>
> It's probably best to start there and see if you can adapt what's in those examples to your own application. I think there might also be useful material in documentation from the tutorials and workshops.
>
> Good luck!
>
> Jim
>
> On 11/4/2013 18:48, Don DNA wrote:
>
> Hi all I am Dona Clara.. new to NCL . I am interested in converting ascii to netcdf format. Since I have no much idea about NCL I would like request NCL users to provide sample code for conversion so that I can run and I can develop my own code for ascii to netcdf conversion in future.
>
> So here I am attaching sample ascii data (input) and converted netcdf file(expected output) done by one of my friend in Ferret software. Since I am not interested in Ferret. I request someone who knows NCL please guide me to start NCL, and also please explain each step in conversion so that I can understand NCL language.
>
> So once again input in ascii : input.txt
> Expected Ouput from NCL :Output.nc
>
> Please NCL developers/Users kindly give your little time for me to learn NCL
>
> Please find the attachment from ftp server
>
>
> Thanks in advance,
>
> Dona Clara
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

Received on Wed Nov 6 09:01:48 2013

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