Michael, I have been trying to do something like this for my use. I worked on two types of mechanisms. 1. A set of routines would help to interactively subset and plot as you do in grads. I usually open a netcdf data and with the use of this library and can say things like setlat(-30,30) or settime("1Jun1999,20Jun1999") etc and do things like shaded(sst) or contour(sst) This routines are not so well developed and needs lot of working. But I can send it to you over the weekend if you are interested. 2. The second way is not really for interactive plotting. It was developed as part of an automated climate monitoring system. In this case we set up a data base with some predefined conventions and structure. By data base I mean just a flat data base (none of the SQL stuff). All data is ordered with a particular structure- For instance TMI/Mean/2007/sst.nc or NCEP/Anomaly/2007/hgt_1000.nc We then use an interface to retrieve data in a relatively painless way For instance to get a time series of TMI SST anomalies area-averaged between 30 S and 30 N and 40 E to 120 E, we could say opt=True opt@DataSource="TMI" opt@DataType="Anomaly" opt@DataPeriod=(/"1Jan1997,31Jan2007"/) opt@Lat=(/-30,30/) opt@LatAve=True opt@Lon=(/40,120/) opt@LonAve=True var=sliceData(opt) ; returns sst averaged over tropical Indian Ocean for period 1Jan1997 to 31Jan2007. If these are of interest to you, please let me know. saji * Michael Uddstrom <m.uddstrom@niwa.co.nz> [2007-07-12 17:02:24 +1200]:Perhaps a dumb question - but... Has anyone built a gui to sit on top of ncl, so that it is easy to interactively select and display fields in a file (or files) - a bit like a "super ncview" application. If not (which we suspect might be the case) what would you suggest (GrADS, IVE, ...?) Thanks very much for your help Michael -- Dr. Michael J. Uddstrom Science Leader: Environmental Forecasting Principal Scientist: Meteorology and Remote Sensing National Institute of Water and Atmospheric Research Private Bag 14-901, Wellington, New Zealand DDI: +64 4 386 0365, Fax: +64 4 386 2153, Home: +64 4 478 9734 http://www.niwa.co.nz/_______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- ---------------------------- ARINDAM CHAKRABORTY Department of Meteorology Florida State University Tallahassee, FL-32306, USA Tel: +001-850-6443524 (Off) +001-850-5758550 (Res) Fax: +001-850-6449642 ____________________________
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 12 2007 - 10:56:28 MDT
This archive was generated by hypermail 2.2.0 : Tue Jul 17 2007 - 06:52:01 MDT