software on station data

Ben-Jei Tsuang btsuang at YAHOO.COM
Fri Aug 29 12:14:00 EDT 2008


Dear All:

  Enclosed is a utility "stngrads" for use to convert station data in ascii to GrADS station binary.

  1) In the tar file. It should be very easy to compile the source code under linux by typing "make'. Then, you should be able to see the excuate file "stngrads".

    2) Please excuate "stngrads" to see the help. In addiiton,

  3) lonlat.sh: show an example how to covert station data in lon/lat coordiante to GrADS station data.

  4) utm.sh: show an example how to covert station data in utm (for Taiwan Area) coordiante to GrADS station data.



  5) After you generate the GrADS station binary file, do not forget to create your ctl file (Please see lonlat.ctl as an example). After ctl is generated, type

  stnmap -i lonlat.ctl

  to generate the index file (lonlat.map as an example).

  6) Nonetheless, since shaded and contour command of GrADS only support grided data, you should convert the data to gridded data for the display by oacres or oabin. Enclosed a script "example.gs" shows such a job.

  7) Note that "topo.ctl" in the tar file, which serves as a template for the gridded resoultion. You should modify it with the resolution of your intetest.

  Hopefully. This will help people intersted in station data.


  Ben

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20080830/2ec4d7e0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stngrads.tar
Type: application/x-tar
Size: 430080 bytes
Desc: 1882941954-stngrads.tar
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20080830/2ec4d7e0/attachment.tar 


More information about the gradsusr mailing list