Email:  Password:  
  Forgot Password?  Register Now
UCAR > NCAR > CISL
Search:  
  
FAQs | Contact Us | For Staff
ds336.0 SOFTWAREGo to Dataset: 
 


Fortran codes which extract data from the SYNOP, METAR, Buoy, and upperair NetCDF files are listed below. Click on the code name link to download the desired code. The code is structured in a generic format to provide standard variables. Users should modify the fortran code to fit their individual needs. NetCDF libraries from Unidata are required to compile and run the code. Links to download various NetCDF libraries can be found here.


NetCDF decoders
readsyn.f Fortran code to read surface SYNOP Obs. NetCDF files (e.g. 2003110500_syn.nc).
readmet.f Fortran code to read surface METAR Obs. NetCDF files (e.g. 2003110507_metar.nc).
readbuoy.f Fortran code to read surface Buoy Obs. NetCDF files (e.g. 2003110522_buoy.nc).
readupr.f Fortran code to read Upperair Obs. NetCDF files (e.g. 2003110500_perl_ua.nc).


To compile and link these individual programs, use the following format:

g77 -o readsyn readsyn.f -L/upc/netcdf/lib -lnetcdf

but you would have to change "/upc/netcdf/lib" to your local NetCDF library directory.

Please see NetCDF for further information on NetCDF libraries.
Updated 22 July 2005 

© 2009, UCAR  |  Privacy Policy  |  Terms of Use  |  Webmaster