Shared Cost Action Projects in Area 3.3 (CEO) of the Specific Programme for Climate and Environment

HYDALP
Hydrology of Alpine and High Latitude Basins

Project Reference: ENV4-CT96-03634

Internal report RI112
WP 112 - Definition of Software Standards

Author: Graham Glendinning, IMGI
Date: 28 August 1997

Approved by manager of WP 110: R Caves Date: 27 August 1997

Approved by coordinator of WP 100: H Rott Date: 11 August 1997

Approved by project coordinator: H Rott Date: 11 August 1997

This document was produced under the terms and conditions of Contract ENV4-CT96-03634 for the European Union, DG XXII.

Distribution

Hard copies to:

  • Helmut Rott (IMGI) 2 copies
  • David Miller (MLURI) 1 copy
  • Thomas Nagler (IMGI) 1 copy
  • Marianne Broadgate (MLURI) 1 copy
  • Graham Glendinning (IMGI) 1 copy
  • Justin Morgan-Davies (MLURI) 1 copy
  • Otto Pirker (VERB) 1 copy
  • Michael Baumgartner (UBE) 1 copy
  • Shaun Quegan (SCEOS) 1 copy
  • Hannes Kleindienst (UBE) 1 copy
  • Rob Ferguson (SCEOS) 1 copy
  • Barbro Johansson (SMHI) 1 copy
  • Chris Clark (SCEOS) 1 copy
  • Mats Moberg (SMHI) 1 copy
  • Owen Turpin (SCEOS) 1 copy
  • Josef Aschbacher (CEO) 1 copy via H. Rott
  • Ron Caves (SCEOS) 1 copy
  • Erich Riegler (DIBAG) 1 copy
  • Gary Wright (MLURI) 1 copy
  • Spare (IMGI) 5 copies
  • Soft copies are available via ftp from:

    Server: ftp.sai.org
    Directory: /ext/sca/HYDALP/private/common/Deliverables/RI112
    Files: RI112.doc

    Amendment record

    Amendment number

    Date

    Issued by

    Comments

    1

    6th June 97

    G Glendinning

    To T Nagler for comments

    2

    23rd June 97

    T Nagler

    To R Caves & H Rott

    3

    4th July 97

    R Caves & H Rott

    To all institutes & DIBAG

    4

    22nd July 97

    G Glendinning

    Ammendments made: To R Caves & H Rott

    5

    26th Aug 97

    G Glendinning

    Including new Data Format

    6

    27th Aug 97

    R Caves

    Review of general data format

    7

    28th Aug 97

    G. Glendinning

    Final Version

    Table of contents

    1. Introduction *

    2. Current Usage *

    3. Recommendations *

    3.1 Operating Platforms *

    3.2 Media Types *

    3.3 Word processing *

    3.4 Image processing *

    3.5 Programming *

    3.5.1 Language choice *

    3.5.2 Program names *

    3.5.3 Software Headers *

    3.5.4 Software Header Format *

    3.5.5 Software Keywords *

    3.5.6 Example *

    3.5.7 Reviewing and bug reporting *

    3.5.8 Package specifics *

    3.5.9 Automatic Documentation *

    3.6 Visualisation *

    3.7 Drawing packages *

    3.8 GIS *

    3.9 Databases *

    4. Information Formats *

    4.1 Image Data *

    4.2 General Hydalp Data Format *

    4.2.1 List of keywords *

    4.2.2 Specific keywords for hydrological and metorological data: SAMPLE *

    4.2.3 Example meteo data file: SAMPLE *

    4.2.4 Specific keywords for remote sensing data (per hydrological unit): SAMPLE *

    4.2.5 Example remote sensing data file (per hydrolological unit): SAMPLE *

    5. Information Storage and Transfer *

    5.1 Compression *

    5.2 Data transfer and management *

     

    1. Introduction

    The aim of Task 112, the definition of software standards, is the choice of software usage for the HydAlp project, and a specification of software formats and documentation for use by all partners.

    This report firstly outlines the current usage of project partners. Recommendations are then given for the specific hardware and software usage within the project. The following issues are considered; operating platforms, media types, word processing packages, image processing, programming languages, visualisation, drawing packages, GIS, and databases.

    One of the problems with formulating software standards is that a common package will most often be the lowest common denominator of packages on offer. Hence, greater functionality at some institutes may need to be traded for compatibility between all institutes. When there is no package common to all institutes, communication between different packages becomes the crucial issue. An attempt has been made to draw upon the common usage of packages where possible, but it was often necessary to accept more than one standard with set porting routines.

    Formats for program headers and in code documentation are suggested. The software consultancy, DIBAG, will write a program for general documentation from the information contained in program headers. For this reason, the software header information should be complete and self-explanatory. This automatic documentation program will accept all programming languages used in the project.

    During the lifetime of the project, there will need to be an element of quality control and review of software. This is discussed in section 3.5.7.

    Standards are given for transfer and compression of files between HydAlp members.

    A general data format is outlined, for which the data files flowing between HydAlp modules are defined. These files themselves are to be defined in RI110/225, Data Flowlines.

    2. Current Usage

    For the purpose of standardising software usage, a matrix was compiled of current hardware and software usage of all HYDALP partners. This matrix comprised the following headings:

    The results are listed below in Table 1. The highlighted rows in the table indicate recommended choices.

     

    Table 2-1: Usage matrix.

    Institute

    IMGI

    MLURI

    SCEOS

    SMHI

    UBE

    Operating Platforms

    PC / Windows / NT

    Yes

    Yes

    Yes

    Yes

    Yes

    Unix

    Yes

    Yes

    Yes

    Yes

    Yes

    VMS

    Yes

    Yes

    Media Types

    CDROM

    Yes

    Yes

    Yes

    Yes

    Yes

    Optical Disk

    Yes

    Yes

    Yes

    DAT

    Yes

    Yes

    Yes

    Yes

    Exabyte

    Yes

    Yes

    Yes

    Yes

    Yes

    Word Processing

    Word 6

    PC

    PC

    PC

    PC

    PC

    Word 7

    Yes

    Image Processing

    ERDAS Imagine

    Unix

    Unix

    PC/Unix

    PCI EASI/PACE

    Unix 6.1

    Unix

    Unix 6.1

    Unix

    Unix/VMS 6.1

    HIPS

    Unix

    Languages

    ANSI C

    Unix

    Unix

    Unix

    PC

    PC

    C++

    Unix

    Unix

    Unix

    PC

    PC

    FORTRAN 77 / 90

    Unix / PC

    Unix

    Unix / PC

    Unix / PC

    Unix

    Java

    Unix / PC

    Unix

    PC

    Visualization and Graphics

    IDL

    Unix

    Unix

    Unix

    PV-Wave

    Unix

    Uniras

    Unix

    Simpleplot

    Unix

    Surfer

    PC

    Grapher

    PC

    PC

    Performer

    Unix (SG)

    MultiGen II

    Unix (SG)

    Excel

    PC

    PC

    PC

    PC

    PC

    Origin 4

    PC

    PC

    Diagrams

    Coreldraw 7

    PC

    PC

    Adobe Illustrator

    Mac

    Mapinfo

    PC

    PC

    GIS

    ARC/INFO

    Unix / PC

    Unix

    Unix

    Unix

    ArcView

    Unix

    Unix

    PC or Unix?

    PC

    Mapinfo

    PC

    PC

    Idrisi

    PC

    PC

    PC

    Smallworld

    Unix

    Grass

    Unix

    Atlas

    PC

    Databases

    Vis Dbase Ver 5.5

    PC

    PC

    MS Access

    PC

    PC

    PC

    PC

    PC

    Foxpro

    PC

    Mimer

    VMS

    Oracle

    Unix

    3. Recommendations

    3.1 Operating Platforms

    There are two accepted computational platforms to be used within the project. These are UNIX workstations (Solaris, SUNOS, Silicon Graphics) and PCs running Windows (3.1, 95 or NT). All code written for the UNIX platforms should be at least portable between the different UNIX types.

    3.2 Media Types

    Remote sensing data should be ordered / transferred onto CDROM (preferable) or EXABYTE and transferred by FTP (see Section 4.4). Other data will be stored on the individual institute’s own hard disk space and backed up regularly using their own normal methods.

    3.3 Word processing

    As decided at the kick-off meeting, all reports must be written in Word 6. Every institute has access to Word 6 and experience of use. Attempts to use Word 7 and a converter to Word 6 have been successful, but the direct export from Word 7 to Word 6 loses some formatting information. Thus documents must always be checked in Word 6 before distribution. This situation may need to be reviewed if Word 7 supersedes Word 6 as the standard word processor at ALL institutes. For those who use Word 7, superior conversion software may be found at CEO on the ftp site under public/common/CompUtils/Word_converters, and information on it at http://www.microsoft.com/Officefreestuff/word/dlpages/wrd6ex32.htm.

    3.4 Image processing

    PCI EASI/PACE 6.1 is the recommended image processing system. Additional modules for this may be compiled with help files in FORTRAN or C. PCI runs on UNIX platforms at every institute. With every institute working with this software, imagery, vector information and bitmaps may be transferred easily between institutes as PCI EASI/PACE image files (.PIX format).

    3.5 Programming

    3.5.1 Language choice

    Software modules to be developed in HydAlp, or to be made available to the project, will be written in a number of different languages according to application and user. For most scientific applications, Fortran 77 (or 90) and ANSI C (or C ++) will be utilised. These should be written as stand alone modules. Java will be used for the final demonstration product, and for intermediate tools. Its ability to call Fortran and C subroutines will be utilised. Other code and formats, such as shellscripts and IDL /PVWAVE *.pro modules will also be utilised. Java is suitable for coding new programs since it is both a powerful language (like C++) and it is highly portable. It is possible to have a main Java program and to call code written in other languages. It is not possible to call Java routines from C or FORTRAN.

    The use of well commented, modular code with indenting of embedded loops is highly recommended. Good inline documentation is also critical. All program files (including subroutines) must begin with header information (see below).

    Each program should be stored as source code, with README files and MAKE files sufficient for successful compilation and example input and output files. All subroutines should be written as separate files. Where there is more than one file, for purposes of dissemination all relevant files should be zipped into a single file, containing all of the required files for complete documentation, compilation and a test run. In the case of different subroutine files, the header information should be included in every program file. Where a program may be of use to more than one institute, a definitive version of the program should be stored at the CEO FTP site.

    Errors should be captured and lead to a logical notification procedure. Log files should be generated by each program. These should contain the details of inputs and run parameters such that the run could be repeated if required.

    3.5.2 Program names

    File name endings should be such that the language is overtly recognisable, as shown in the below table:

    Table 1: File extensions

    Language

    File Suffix

    Language

    File Suffix

    Fortran 77

    .f

    Shellscripts

    .sh

    Fortran 90

    .f90

    IDL/PVWAVE

    .pro

    Ansi C

    .c

    Fortran PCI

    .f_p

    C++

    .c++

    C PCI

    .c_p

    Java

    .java

       

    3.5.3 Software Headers

    All program files (including subroutines) must begin with a software header. To minimise the problems associated with using different programming languages, headers for all languages in use must be defined in a standard way. The only differences in the styles of headers should be in the format used for commenting in the various languages. Allowed comment characters are listed below (with families of languages grouped together i.e. Fortran, PCI Fortran, Fortran 90):

    Table 3: Comment Characters

    Language

    Comment

    Fortran

    ‘C’ character at the beginning of any non-empty line.

    C

    ‘/* */’ pair surrounding the whole header section.

    Shellscript

    ‘#’ character at the beginning of any non-empty line.

    Java

    ‘//’ character at the beginning of any non-empty line.

    IDL/PVWAVE

    ‘;’ character at the beginning of any non-empty line

    3.5.4 Software Header Format

    All lines of a software header should be regarded as comments by the compiler.

    The software header consists of software keywords and descriptive text associated with the keywords. All of the text following a keyword, before the next new line that starts with another keyword, is associated with that software keyword. New lines that do not begin with a keyword are admissible within the descriptive text. New lines that begin with a keyword signify the end of the previous descriptive block. The software header section ends with the keyword HEADER_END, which has no associated text.

    3.5.5 Software Keywords

    The software keywords are as follows:

    These keywords are associated with strings, except HEADER_END, which signifies the start of the actual code.

    Additional keywords will be defined if required.

    3.5.6 Example

    An example program with software header keywords is given below:

    # FILENAME Meantemp.sh
    # TITLE Mean Temperature Script
    # AUTHOR Graham Glendinning
    # INSTITUTE IMGI

    # VERSION 1

    # MODIFICATIONS 1. 20/5/97 original code
    # 2. 21/5/98 comment added
    # LANGUAGE UNIX shellscript

    # PURPOSE
    # MeanTscript is a unix shell to read in columns

    # of max and min temperature data
    # and output the mean.

    # METHODS
    # The program uses the NAWK UNIX command
    # INPUTS
    # Two ASCII files of column temperature

    # data: TEMP_MAX, TEMP_MIN
    # OUTPUTS
    # A stream of column temperature data: TEMP_MEAN
    # COMPILATION none required

    # USAGE
    # Change the permissions of the file to

    # ‘executable’.
    # cat inputfile | STRIPSCRIPT > outputfile

    # LIBRARIES no libraries called

    # BUGS too simple for a bug!

    # REFERENCES the nawk man page

    # CODE STARTS


    nawk '{print ($1+$2)/2.0}' # A COMMENT

    3.5.7 Reviewing and bug reporting

    All software developed within the project must be verified and tested. Verification and testing must be conducted by at least one person other than the original author(s) of the program. All bugs should be reported to the authors and an upgrade issued. Upgrades must also be verified and tested. Then a final version may be disseminated. Software verification and testing, including timescales, should be co-ordinated at the WP manager level. Hopefully the majority of bugs will be rooted out during testing, and any coming to light afterwards must be reported to the authors and all users. A new upgrade should then be tested and issued.

    3.5.8 Package specifics

    For programs specific to a package (such as PCI programs written in Fortran or C), there may well also be a format for including package help information. This should be fully utilised.

    3.5.9 Automatic Documentation

    For Java, there is an API Documentation Generator called "Javadoc". By using a simple syntax in the header documentation of the Java-classes, the generator is able to create automatic documentation in HTML-format. A further Java program is to be developed by DIBAG to extract this simple header information from C, Fortran, Java, shellscripts and IDL files.

    3.6 Visualisation

    The preferred visualisation tool for other than image processing is IDL (or PVWAVE). IDL enables repeated procedures to be carried out easily, and is more powerful than a simple spreadsheet package. It is also available for both PC and UNIX environments. Plots may be output from IDL in Computer Graphics Metafile (CGM) or PostScript (PS) format, both of which may be converted to Windows Meta File (WMF) format or read directly (via EPS for PS) into Word.

    Excel may be used instead of IDL for those who wish, though it is more time consuming as it is harder to program to do repeated tasks on different data sets, and thus share methods between institutes. SMHI’s chosen display format will be Excel, as they have no access to IDL.

    3.7 Drawing packages

    Most institutes use PC based drawing packages (see Table 2-1). WMF is the chosen format for storing drawings. WMF files may be further edited if required. For institutes preferring Mac or Unix based drawing packages, EPS is the preferred storage format. EPS files are not easily edited, but can be imported directly into Word (as can WMF).

    3.8 GIS

    The chosen geographical information systems are ARCINFO, and ArcView. It is also possible to utilise the GIS capabilities of PCI EASI/PACE.

    3.9 Databases

    No specification is made regarding the use of databases at each institute. The format of data supplied by the database is laid out in RI110/225.

    4. Information Formats

    4.1 Image Data

    Image data files should be stored in the .PIX format for PCI files. Raw image data files require processing to reach .PIX format, and their format is specified by the supplier (see RI232 and RI233). Images for inclusion in reports should be stored in JPEG format. Word files containing large numbers of images should use symbolic links to incorporate images. Images for display on the WWW should be degraded e.g. for the final public product (as discussed at the kick-off meeting). This can be accomplished using a simple averaging filter or the lossy compression facilities of JPEG.

    4.2 General Hydalp Data Format

    The general form for data to be used in the HYDALP project (below the level of specific DBMS or GIS packages) is given here. This will be a common format for all such data, and has been defined to be as open as possible in structure. This general format enables the coding of general input and output routines for tools in the HYDALP project.

    The file structure consists of general heading keywords, specific data keywords and data. These keywords are given below.

    4.2.1 List of keywords

    General keywords:

    KEYWORD

    FORMAT

    EXAMPLE

    OBLIGATORY

    Filetype

    string

    "hydro_data"

    y

    Content

    string

    "meteo data for schlegeis"

    y

    Author

    string

    "graham glendinning"

    y

    Organisation

    string

    "imgi"

    y

    Version

    integer

    1

    y

    Creation_date_time

    date

    04.03.70 14:34

    y

    Property

    string

    "no limitations"

    n

    Comments

    string

    "no data in july"

    n

    column.#.parameter

    string

    "date"

    y

    column.#.description

    string

    "date and time"

    y

    column.#.format

    string

    "data_time"

    y

     

    Where the actual data is defined by the COLUMN keywords, eg.

    column.1.parameter

    string

    "date_time"

    column.1.description

    string

    "date and time"

    column.1.format

    string

    "data_time"

    column.2.parameter

    string

    "temp_mean"

    column.2.descreption

    string

    "mean temperature"

    column.2.format

    string

    "real"

     

    Other column keywords are also defined. The units may be defined using the column keyword, column.#.units, which is associated with a string. Parameters will also have default units, so column.#.units is not obligatory. The remote sensing data format includes the column.#.code keyword, as an identifier of hydrological units.

    After this list of keywords, the data given by the COLUMN keywords is given, encapsulated by data-table identifiers, as given below.

    TABULATED_DATA_START

    Data

    TABULATED_DATA_END

    More than one set of tabulated data may be included in one file (thus using the same general headers), by including further data after the TABULATED_DATA_END. The next table is then defined by redefining the COLUMN keywords, and given between further data-table identifiers.

    i.e.

    column.1…

    column.2…

    tabulated_data_start

    data column 1 data column 2

    tabulated_data_end

    column.1…

    column.2…

    tabulated_data_start

    data column 1 data column 2

    tabulated_data_end

    A sample meteorological data file is given, and an example remote sensing data file per hydrological unit. The full file formats in the HydAlp project are defined in RI110/225, Data Flowlines.

     

    4.2.2 Specific keywords for hydrological and metorological data: SAMPLE

    Keyword

    Format

    Example

    Default

    Obligatory

    Limitations

     

    Date_seperator

     

    string

     

    .

     

    "."

     

    n

    Time_seperator

    string

    :

    ":"

    n

    Utc_time_offset

    integer

    1

    0

    y

    Station.id

    integer

    60342

    y

    Station.elevation

    real

    1543

    y

     

    Station.description

     

    string

     

    "Schlegeis meteo station, maintained by tkw"

     

    y

     

    Station.easting

     

    real

     

    45.32

     

    y

    Station.northing

    real

    41.23

    y

    Projection

    string

    "latlong"

    "latlong"

    n

    Error_value

    string

    "nan"

    #####

    n

     

    The meteorological column parameters are defined with their default units.

    Date_Time DD.MM.YY HH:MM date and time

    Temp_Mean degrees C mean temperature

    Precip mm (per time unit) water equivalent precipitation (per unit area)

    Snow_Height mm(per time unit) height of snow

    Pet mm (per time unit) potential evapotranspiration

    Humidity percent relative humidity

    Windspeed m/s windspeed

    The hydrological column parameters are defined with their units:

    Date_Time DD.MM.YY HH:MM date and time

    Runoff m3/s runoff (average value per timestep)

    Temp_Water °C Water temperature (seldom used)

     

     

    4.2.3 Example meteo data file: SAMPLE

    # This is an example meteo data file

     

    # General file description

    filetype: "meteo_data"

    content: "meteo data for schlegeis"

    author: "graham glendinning"

    organisation: "imgi"

    version: 1

    creation_date_time: 14.08.1997 11:50

    property: "no limitations"

    comments: "no data in july"

     

    # specific file description

     

    projection: "latlong"

    error_value: "nan"

     

    utc_time_offset: 1

     

    station.id: 50320

    station.elevation: 1306

    station.description: "schlegeis meteo station, maintained by tkw"

    station.easting: 9.42

    station.northing: 48.13

     

    # data description

     

    column.1.parameter: "date"

    column.1.description: "date and time"

    column.1.format: "date_time"

     

    column.2.parameter: "temp_mean"

    column.2.description: "mean temperature (0-24hrs)"

    column.2.format: "real"

     

    column.3.parameter: "precip"

    column.3.description: "precipitation (19-19hrs)"

    column.3.format: "real"

     

    # here comes the data...

     

    tabulated_data_start:

     

    01.05.1998 00:00 1.6 0.0

    02.05.1998 00:00 2.8 2.1

    03.05.1998 00:00 0.2 0.0

    . . .

    . . .

    . . .

    31.10.1998 00:00 6.2 14.0

     

    tabulated_data_end:

     

    4.2.4 Specific keywords for remote sensing data (per hydrological unit): SAMPLE

    Keywords describing the generation of the remote sensing product and additional information about sensor, image characteristic, map projection, etc. These keywords are not used at the moment, but they provide additional information about the product.

     

    Keyword

    Format

    Obl

    Unit

    Description

    # basin information record

    Basin.name:

    string

    Y

     

    !the basin name

    Basin.des:

    string

       

    !description of basin

    Basin.area:

    real

     

    m2

    !the area of the basin

    Basin.area.unit:

    string

       

    !basin centre easting

    # sensor information record

    Sensor.name:

    string

       

    !sensor name,e.g ERS-1SAR

    Sensor.resolution.x

    real

     

    m

    !resolution cross track

    Sensor.resolution.y

    real

     

    m

    !resolution along_track

    #remote sensing image product information record

    Imgproduct.parameter:

    string

       

    !product parameter

    Imgproduct.date_time

    date

       

    !date specif. of product

    Imgproduct.pixel_size.x:

    real

       

    !pixel size: left-right

    Imgproduct.pixel_size.y:

    real

       

    !pixel size: top-bottom

    Imgproduct.pixel_size.unit

    string

       

    !Units of pixel size

    Imgproduct.quicklook.file

    string

       

    !quicklook file name

    Imgproduct.software.module:

    string

       

    !RS Analysis Software module

    Imgproduct.software.version:

    real

       

    !version of RS Analysis software

    Imgproduct.log.file:

    string

       

    !log file

    Imgproduct.projection.description

    string

       

    !description of projection

    Imgproduct.projection.file

    string

       

    !file with detailed parameters for map projection

    # DEM information record

    Dem.file:

    string

       

    !filename of DEM

    Dem.channel:

    integer

       

    !channel of DEM

    # Hydrological Unit Description needed for *.r_h and *.r_s files

    Hydrounit.file

    string

    Y

     

    !name of HU def. File

    Hydrounit.creation_date_time

    "string"

    Y

     

    !for identifying if filename changes !!

     

    4.2.5 Example remote sensing data file (per hydrolological unit): SAMPLE

    # General file description recordFiletype:

    "RS_SNW"

    Description:

    "Snow Cover, Snow Free, Layover/Shadow per HU"

    Author:

    "ThN"

    Organisation:

    "IMGI"

    Property:

    "No limitations"

    Comments:

    "This is a first test file"

    # Basin Description Record

    Basin.name

    "Tuxbach/Zillertal"

    Basin.description:

    "BASAT; Alpine Test site"

    Basin.area:

    130

    Basin.area.unit

    "km2"

    #product information record

    Imgproduct.parameter:

    "snow cover"

    Imgproduct.date_time

    17.04.1997 11:00

    Imgproduct.pixel_size.x:

    25

    Imgproduct.pixel_size.y:

    25

    Imgproduct.pixel_size.unit

    "m"

    Imgproduct.file

    "SNW-COV-21APR96-ERS.pix"

    Imgproduct.quicklook.file

    "ERS-17APR97-snwcov.jpg"

    Imgproduct.software.module:

    "RS.SAR"

    Imgproduct.software.version:

    1.1

    Imgproduct.log.file:

     

    Imgproduct.projection

    "BundesmeldeNetz 28"

    Imgproduct.projection.file

    "TUX_BMN28.asc"

    Column.1.parameter:

    "Acqu_Date"

    Column.1.description:

    "Acquisition date of images"

    Column.2.parameter:

    "sensor"

    Column.2.description:

    "specifies the sensor"

    Column.3.parameter:

    "Image_INFO"

    Column.3.description:

    "Information about acquired images"

    TABULAR_DATA_START
    "17.04.1997 11:35:20" "ERS-2" "SNOW Image: Or: 2900 …Fr: 2655 etc."
    "17.04.1997 22:20:20" "ERS-2" "SNOW Image:ERS-2 Or: 2920 …Fr: 0945 etc"
    "18.11.1996 11:37:20" "ERS-2" "Ref Image:ERS-2 Or: 1900 …Fr: 2655 etc"
    "18.11.1996 22:25:20" "ERS-2" "Ref Image:ERS-2 Or: 1920 …Fr: 0945 etc"
    TABULAR_DATA_END

    # DEM information record

    Dem.file:

    "dem-zillertal.pix"

    Dem.channel:

    1

    # Hydrological Unit Description needed for *.r_h and *.r_s files

    Hydro_unit.file

    "d:/snwcover/1996/ERS/tux.hu"

    #RS Product Data Record

    Column.1.parameter:

    "HU "

    Column.1.description:

    "B=sub-basin, L=LandCoverType, E=elevation, A=Aspect, S=Slope"

    Column.1.format:

    "string"

    Column.1.code:

    "BBBLLLEEEEAALL"

    Column.2.parameter:

    "snwc"

    Column.2.description:

    "area of snow coverage"

    Column.2.format:

    "real"

    Column.2.unit:

    "m2"

    Column.3.parameter:

    "snwf"

    Column.3.description:

    "snow free area within HU"

    Column.3.format:

    "real"

    Column.3.unit:

    "m2"

    Column.4.parameter:

    "snwu"

    Column.4.description:

    "are of layover and shadow in HU"

    Column.4.format:

    "real"

    Column.4.unit:

    "m2"

    TABULATED_DATA_START
    TX1FOR19000101 2001.2 3231. 1029 0
    TX1FOR19000102 1219. 2320. 1922.0
    TX1FOR19000103 1019. 3020. 1922.0
    ……etc……

    TABUALTED_DATA_END

    5. Information Storage and Transfer

    5.1 Compression

    The choice of compression routine for the large files to be used in the HYDALP project is of some import. It is recommended that the ZIP utility, by INFO-ZIP, be utilised. This is a cross platform utility, and has the advantage of being totally compatible with PKZIP on PCs. Compression is encouraged for all sizeable transfers.

    The INFO-ZIP software may be downloaded from:

    http://www.cdrom.com/pub/infozip

    http://ftp.cdrom.com/pub/infozip

    5.2 Data transfer and management

    Data may be passed between groups by way of the WWW, by CDROM and by Exabyte. WWW transfer should be done as much as possible through the FTP site at CEO. Email file attachments may be attempted, using standard software such as Netscape mail, Unix Mail or Pegasus Mail. Problems arising from mailing should be reported to the sender if not soluble, and the file placed at the CEO FTP site. It should be emphasised that the CEO FTP site is the preferred method of transfer, and obligatory for files larger than 10MB but less than 50MB. Very large files (>50MB), should be posted on CDROM ISO9660 (readable by UNIX and PCs) format (preferable) or Exabyte, to reduce downloading problems. They may also be downloaded at night to and from the CEO site.

    The CEO site should be managed by placing files under the following directories:

    ext/sca/HYDALP/private/name for data from name to another party, or

    ext/sca/HYDALP/private/common for data to all project members.

    All files under common should be placed in a logical directory structure.