converting ascii text file to netcdf format

From: <jokalebo_at_nyahnyahspammersnyahnyah>
Date: Mon Jun 04 2012 - 13:24:16 MDT

Hi,

I have a large file (ascii) of gridded (regular) rainfall data from PRISM.

It begins with these information:

ncols 1405
nrows 621
xllcorner -125.020833
yllcorner 24.062500
cellsize 0.041667
NODATA_value -9999
-9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -$
-9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -9999 -$
-9.......

Kindly assist me with ideas on how to convert it to *.nc.

Thanks.

Jane Okalebo
PhD student
HPRCC, School of Natural Resources
University of Nebraska-Lincoln
249 Hardin Hall
3310 Holdrege,
Lincoln, Nebraska 68583-0749 U.S.A.

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jun 4 13:24:31 2012

This archive was generated by hypermail 2.1.8 : Wed Jun 06 2012 - 15:17:44 MDT