The Australian Antarctic automatic weather station dataset

home
background
data
software

Reading Australian Antarctic automatic weather station netcdf data

Two pieces of software specifically designed to process Australian Antarctic automatic weather station data are available at this website. The first piece of software converts the data into a simple ASCII text file. The second uses NCAR graphics to graph the data. A comprehensive list of software that reads netcdf format is given at the Unidata website, and all software listed at that website will read Australian Antarctic automatic weather datafiles.

Software to convert automatic weather station netcdf datafiles to text

This section provides a small program to convert automatic weather station data into text for spreadsheets.  It is intended for people with a little unix or linux knowledge.  The program also provides maximums, minimums and means for periods selected by the user. Download and run the program by following the four steps below. The program requires a Fortran 90 netcdf library to be installed on your unix or linux system at /usr/local/netcdf (check this with your system administrator).

1. Download software to an empty unix or linux directory by clicking here.

2. You now have a file called "antarcticaws.tar" in your directory. Now enter these two commands at the prompt:

tar -xvf antarcticaws.tar
make

3. There should now be several files in your directory. One of them is an executable called "antarcticaws".  In the same directory, download the automatic weather station netcdf datafiles from the data table at this website.

4. This is an example of how to run the program using the datafile "Lanyon_antarctic_aws_1991_1998.nc".
In the directory, enter:

./antarcticaws Lanyon_antarctic_aws_1991_1998.nc

You should now have information on your screen about the time observations span and variables available from the datafile. You are asked to enter the number of variables you wish to extract and then the order in which you want the data. You will then be asked the timespan for which you require observations  Finally, the program provides information on that data and makes a text file.  This file can be imported into spreadsheets.


An NCAR graphics application for graphing AWS data

This section provides a Fortran 95 program that uses NCAR graphics to graph Australian Antarctic AWS data. To use the software available here, you must first have NCAR graphics installed on your system, together with the Unidata Fortran 90 netcdf library. The software available here is designed specifically to run on a Unix workstation or X-term, and is meant for regular unix or linux users. An example of the output is provided below:

To download the code as a tar file click here. To compile the program, a makefile is included as part of the tar file, and the locations of the NCAR and netcdf libraries should be changed in the makefile to match those of your system. The executable will appear as graphaws in your compiling directory.

To graph data from an AWS netcdf file, place the file name after the executable on the command line. For example, to graph data from GC41, you would download GC41_antarctic_aws_1984_2000.nc to your running directory, and then type "./graphaws GC41_antarctic_aws_1984_2000.nc" at the prompt. The program will provide you with a series of format options before opening a graphics window to display the data you have chosen.

If you intend to make changes to this graphing software, please note that it is a truncated version of a much larger program and many global variables are unused in this version.

top of page