Dear all,
I am using the following script and direct the output via screen to a text
file. But I want print in to a text file within a ncl script so that I can
print all the days file for a month separately by looping.
print(sprintf("%8.4f",xlat(:,:)) +" " \
+sprintf("%8.4f",xlon(:,:)) +" " \
+sprintf("%5.1f",t2max(0,0,:,:)) +" " \
+sprintf("%5.1f",t2min(0,0,:,:)) +" " \
+sprintf("%5.1f",rain(0,:,:)))
Please help.
-- With regards Dr.R.Jagannathan Professor of Agronomy Agro Climate Research Centre Tamil Nadu Agricultural University Coimbatore - 641 003 India PHONE: Mob: +91 94438 89891 DO NOT PRINT THIS E-MAIL UNLESS NECESSARY. THE ENVIRONMENT CONCERNS US ALL.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Apr 11 06:12:37 2014
This archive was generated by hypermail 2.1.8 : Tue Apr 15 2014 - 10:45:19 MDT