The names of the surface files, along with boundary and other
information is supplied to ANUCLIM by the surflist
file. This is a text file and is usually just called
surflist. It is normally found in the same directory
as the surface files (the surf directory under the
ANUCLIM installation), and should be found automatically by ANUCLIM
when it starts up.
Note that unless you modify the surflist file, ANUCLIM will look for
climate surfaces in the same directory as the surflist file. This
means that if you move the standard surflist file out of the
surf directory, ANUCLIM will be unable to find the
surface files. See Advanced topics for more
information.
ANUCLIM is usually supplied with climate surfaces for Australia, so you will probably not need to generate surfaces or modify the surflist file if your region of study is within mainland Australia or Tasmania. If you do need to modify or create a new surflist file, make a copy of the supplied surflist file and edit it with a text editor. The surflist file contains comments that describe its format. If you do edit the surflist file, the climate variables 1 to 6 must remain as ...
If a single directory is selected, you can press return or click the go to: button to change into that directory. If more than 1 file or directory is selected, pressing return or clicking the goto button has no effect.
If the character string showing in the entry box doesn't
select any files, you can press return or click the go to:
button to make the file chooser interpret your string as a file
pathname. This will change the file chooser display to show the
file or directory specified. You can use a file pathname starting
with ~/ to mean your home directory (under
Microsoft Windows, this is usually C:\, unless
overridden by the HOME environment variable). On
unix platforms, you can use a file pathname starting with
~username/ to mean the home directory of another
user.
.txt file on Microsoft Windows), generated by a
text editor or a spreadsheet export function.
Each line of the file contains the position, elevation, site identifier and other data for one site. For each location two values are always required: longitude and latitude (or easting and northing if using UTM or TM coordinates). How many and which additional values are required is dependent on the climate variables chosen and the independent variables that were used in the creation of the surface coefficient files for those climate variables. Elevation is usually the only additional value required. Text files can be either
'site 1' 123.45 -34.56 789
'site 2', 123.56, -34.78, 111 / This text after the slash is ignored
site3 123.56 -34.79 123 / No need to quote site3
'site3/4' 123.59 -34.79 123 / Need to quote site3/4 as it contains a slash.
Except for the site identifier, you should not include any
non-numeric data items in a free-format data file. See Common problems with input data files
for details.
site A 123.45 -34.56 789
site B 123.56 -34.78 111 You can put any text you like in the file
site1C 132.21 -34.651029 providing its outside the character positions
site1D 132.21 -34.0 29 of the data values.
Note that this file can't be read in free format for 3 reasons
For plain text files, longitude and latitude information can be supplied as decimal values or as separate degrees, minutes and seconds values. Southern hemisphere latitudes do not have to be recorded as negative. You can specify that all your latitudes are to be interpreted as negative at run time.
141 11 19 21 60 Lyrian 141 12 19 28 60 3km west of Saxby River 141 45 20 40 120 Julia Creek 141 53 20 42 130 Garomna 141 48 20 50 135 Eureka 142 12 20 53 150 Edith DownsAlexmere 142 25 20 27 145 Euraba 142 13 20 39 140 Nelia 142 54 20 41 180 Wyangarie 142 55 20 59 200 Leslew Downs 142 07 21 26 200 Crendon
2012 'HALLS CREEK (A.)M.O.' 18.230 127.670 340.9 423 7983850 359374 52 3003 'BROOME AERO ' 17.950 122.250 0.1 012 8015179 420579 51 4032 'PORT HEDLAND (A)M.O. ' 20.380 118.620 3.8 006 7745627 669067 50 9034 'PERTH REGIONAL OFFIC ' 31.950 115.850 9.3 019 6464517 391314 50 15590 'ALICE SPRINGS ' 23.820 133.900 891.9 545 7365258 387957 53 17043 'OODNADATTA (A.)M.O. ' 27.550 135.470 535.3 112 6952546 546403 53 23090 'ADELAIDE R.O. ' 34.920 138.620 11.0 047 6133230 282587 54 31011 'CAIRNS AERO ' 16.880 145.750 1.9 003 8133292 366852 55 55054 'TAMWORTH (A).M.O. ' 31.080 150.850 192.4 403 6559533 294897 56 66037 'MASCOT (A.)M.O. ' 33.930 151.180 2.3 003 6244101 331777 56 70015 'CANBERRA FORESTRY' 35.300 149.100 107.9 581 6091651 690942 55 72060 'KHANCOBAN (S.M.C.)' 36.220 148.130 174.1 337 5991044 601563 55 72150 'WAGGA M.O.' 35.170 147.470 252.8 218 6107990 542800 55 82042 'STRATHBOGIE P.O.' 36.870 145.730 128.7 506 5918782 386804 55 88133 'NEWBURY' 37.420 144.280 69.1 768 5855047 259298 55
If you have used this file before, its likely that ANUCLIM will already know the file format, and will preset the field definitions in the right-hand listbox. If you have not used this file before, you will have to specify which column (or range of character positions) contains which data item.
You should first decide whether the file is in free- or fixed format (see above). Make this selection from the File is in menu. Having done that you can then proceed to defining the fields.
When you first select a file, ANUCLIM will highlight what it thinks is the first data item on each line in the file preview display. As you define fields it will try to guess the next data item on the line, but it may guess incorrectly. At any point you can correct its guess of the data item or character positions.
Mount Springfield 123.45 45.67 10
Shelbyville 123.78 56.78 1099
the last column is actually 4 characters wide, not 2 as the
first line suggests.
Once you have selected the data item on the file preview, select the corresponding data item name under Items not yet defined and click the >> button. As a shortcut, you can just double-click the data item name instead. This will define the data item, and ANUCLIM will then guess the next data item on the file preview. If the guess is wrong (e.g. refers to a data item that ANUCLIM doesn't use, or doesn't span all the character positions), change it (see above).
Occasionally you may make a mistake in your field definitions, or ANUCLIM may preset the field definitions wrongly because the file format has changed. In both these cases, select an item under Items defined and click the << button (or double-click on the item) to move a data item back onto the Items not yet defined list. You can then redefine it correctly.
Repeat the field definition process for all data items and click OK. The OK button will only become active once you have defined all the required items.
Note that the list of data items that need to be defined depends on several settings, including the Coordinate system and the set of selected surfaces. If you find that there are still fields remaining under Items not yet defined after you have defined all the items in your data file, check that the Coordinate system is set correctly. Also check the surface selections, the adjust radiation for slope/aspect checkbox, and for GROCLIM, the settings for soil information.
ANUCLIM currently recognises GIS site files in the following formats:
.vec files directly. The value
stored at each point in your .vec file should be the
elevation at that point. If you are using a surface that requires
something other than elevation as its third independent variable
(e.g. an Australian wind surface), you will need an extra
.vec file that has the third independent variable
(e.g. distance from coast) stored at each point.
UNGENERATE POINT command. The ARC/INFO cover-id
number is read as the elevation value for a point. To
set the cover-id item in the point coverage equal to the height, follow these steps:
arc> tables
tables> select cover.pat
tables> calculate cover-id = height
where height is info item which stores the elevation value
arc> idedit cover point
arc> ungenerate point cover cover.gen
UNGENERATE file that has the third
independent variable (e.g. distance from coast) stored at each
point.
The coordinate system that your grid files use must be either longitude/latitude, UTM or TM (see Coordinate systems and options). ANUCLIM can read grid data in 4 formats:
GRIDFLOAT command, and consist of a
"body" file and a "header" file (.hdr extension).
Note: ANUCLIM can currently only read floatgrid files written
with the same byte order as the machine that ANUCLIM is running
on.
GRIDASCII command, and consist of
plain text. The first few lines of the file contains the header
information. Here are the first few lines from an ASCIIGRID file:
NCOLS 241
NROWS 161
XLLCORNER 145.9875
YLLCORNER -38.0125
CELLSIZE 0.025
NODATA_VALUE -99
148 145 140 149 158 175 194 200 314 439
.img and .doc files directly.
You specify the grid cell bounds and cell size at run time. The number of values in your text file must exactly match the number of cells defined by your grid boundary and cell size values. The first value in your file is assumed to be for the cell in the north west corner of the grid. The next value is assumed to be for the next cell east of that. After reading enough values to fill all the cells along the north edge of the grid, ANUCLIM reads the next value as the value for the most westerly cell in the row just south of the preceding row. This process continues until the value for the cell in the south east corner has been read.
If you are using a surface that requires something other than elevation as its third independent variable (e.g. an Australian wind surface), you will need a grid of the required third independent variable values (e.g. distance from coast). If you are using a surface that requires just 2 independent variables (e.g. radiation by longitude and latitude without rainfall), you will need to supply a mask grid . This is a grid that has no-data values in cells that are to be ignored, and any other value in cells where you want climate surface estimates.
If you are using two or more grids simultaneously, all your grids must have the same number of rows and columns, and must have the same boundary coordinates and cell size.
Depending on the form of your input data, you can supply the extra coordinate system reference information in several ways.
| Site data in plain text files | Site data in GIS files | grid data | |
|---|---|---|---|
| Coordinates in decimal degrees | OK | OK | OK. Boundary coordinates must have correct sign. |
| Coordinates in degrees and minutes | OK. See note below. | Not available | Not available |
| Coordinates in degrees, minutes, seconds | OK. See note below. | Not available | Not available |
| UTM coordinates with all points or cells in the one zone | OK | OK | OK |
| UTM coordinates with points spanning several zones | OK. Longitude of a meridian within the point's UTM zone must be present on each line of the file. | Not available | Not available |
| TM coordinates with all points having the same origin, scale factor, false easting, false northing. | OK | OK | OK |
| TM coordinates with points having different origin, scale factor, false easting, false northing. | OK. Origin, scale factor, false easting, false northing must be present on each line of the file. | Not available | Not available |
| Third independent variable | Units |
|---|---|
| Elevation | metres |
| Distance from coast | Kilometres |
| Slope | Degrees, 0 (horizontal) to 90 (vertical). |
| Aspect | Degrees, 0 (north) to 360 (north), increasing clockwise from north. |
| Rainfall | millimetres per month |
| Maximum soil water availability | millimetres |
| Soil type indicator |
|
When you are using the rainfall surface to provide the third independent variable for another surface (usually the "radiation with rainfall" surface), ANUCLIM will first use the rainfall surface and the longitude, latitude and elevation of each data point to generate monthly mean rainfall estimates for each location. It will then use the longitude, latitude and estimated monthly mean rainfall values as the three independent variables for the "radiation with rainfall" surface.
All you have to do to enable this 2-stage process is to select the rainfall surface whenever you select the "radiation with rainfall" surface. In fact, ANUCLIM will automatically select the rainfall surface when "radiation with rainfall" is selected, except if your input data is in the form of sites in a plain text file. If you find that ANUCLIM is asking for 12 monthly mean rainfall values in your input file, but you only have longitude, latitude and elevation, selecting the rainfall surface will drop the requirement for you to supply rainfall data.
The way this correction is done is to split the estimated radiation into diffuse and direct components. The diffuse component is that contributed by scattering in the atmosphere (due to the air itself, water vapour, clouds and dust), and the direct component is that contributed by unscattered radiation from the sun. Once the diffuse and direct components are known, the slope and aspect can be used to recombine these 2 components back into total received radiation. In general, the contribution by diffuse radiation is much less affected by the slope and aspect that is the contribution by direct radiation.
The main difficulty in correcting for slope and aspect in this way is that the ratio of diffuse to direct radiation varies according to local meteorological conditions, and has to be determined empirically. The ratio is also affected by the latitude of the site concerned. For these reasons, ANUCLIM uses specially constructed radiation-ratio tables which use slope, aspect and month to estimate the direct:diffuse ratio for a particular region. Since ANUCLIM typically uses several rainfall surfaces to cover a continent (known as "patches"), each rainfall patch can have an associated radiation-ratio table which is used to modify radiation for sites within that patch.
In the current version of ANUCLIM, radiation ratio tables are only supplied for 2 rainfall patches in the set of Australian surfaces
In the case where one or more points fall within the boundaries of the radiation ratio tables, you will see a summary in the log window indicating how many points were modified by each table.
If you want to generate your own radiation-ratio tables, see Advanced topics: Radiation ratio tables.
Note that in order to correct radiation for slope and aspect, you will also need to have slope and aspect values in your input data. They can be included as extra columns in a plain text file or as separate grids or GIS site files. Be careful when generating slope and aspect data from a DEM. The conventions used by the GIS for aspect, in particular, may be different to those stated here. See Units of input data for details.
Under Microsoft Windows, opening a unix-style text file in the DOS EDIT command, then saving it will convert the end-of-line sequences to that required under Microsoft Windows.
Under unix you can use
tr -d '\r\032' < input_file > output_file
to convert a
Microsoft Windows text file into a unix text file. On some versions
of unix you may also be able to use dos2unix
input_file output_file
To convert a Macintosh text file to a unix text file, use the unix command
tr '\r' '\n' < input_file > output_file
tr / _ < input_file > output_file site1/hillside 12.34 56.78 123 'site1/hillside' 12.34 56.78 123