The question is too general to offer specific suggestions.
Most simply
lats =
latn =
lonl =
lonr =
f = addfile("...nc" , "r")
x = f->VarName(:,{lats:latr},{lonL:lonr}) ; 3D variable
printVarSummary(x)
dimx = dimsizes(x)
ntim = dimx(0)
nlat = dimx(1)
mlon = dimx(1)
system("/bin/rm -f Jaya.txt")
opt = True
opt@fout = "Jaya.txt"
fmtx = mlon + "f8.1"
write_matrix (z2D, fmtx , opt)
We do expect people to read the documentation.
http://www.ncl.ucar.edu/Document/Functions/Built-in/addfile.shtml
http://www.ncl.ucar.edu/Document/Functions/Built-in/dimsizes.shtml
http://www.ncl.ucar.edu/Document/Functions/Built-in/write_matrix.shtml
If you do not know NCL, please read the Mini-Language Manual at:
http://www.ncl.ucar.edu/Document/Manuals/
On 5/30/13 12:04 PM, Jaya Pudashine wrote:
> Dear all,
> I am very new user to ncl. I have *.nc file for south east asian region. I
> want to extract data from the selected grid for the selected time and write
> the output into text file. Please help me how i do this..
>
>
> Thanking you
> Ja
>
>
>
> _______________________________________________
> 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 Thu May 30 14:54:02 2013
This archive was generated by hypermail 2.1.8 : Tue Jun 04 2013 - 09:50:17 MDT