Files in RPN format (fst files)
Files in RPN format that can be downloaded from this site are in a proprietary binary format. The following tools are available so that you can easily read and use these files:
- description of RPN files (registration with an email address needed),
- executable used to convert a fst file in as many files as there are variables in the source file: fst2bin.zip for Linux, win_fst2bin.zip for Windows. The source file is also available (fst2bin.c), but to compile it, you need Linux, a Fortran compiler and the ARMNLIB library (registration with an email address needed),
- C programme that reads the files written by fst2bin: read-bin-file.c,
- executable that converts a fst file in XML format: fst2xml.zip for Linux, win_fst2xml.zip for Windows,
- executable doing the opposite conversion: xml2fst.zip for Linux. This programme can read the data in XML format. By using the C source file (xml2fst.c), you can replace the calls to FSTECR by your own routine to write in your own format,
- executable with a function, "SimpleStats", that gives the basic statistics on each variable found in the XML file (min, max, mean value): xml2generic.zip for Linux. The C source file of this programme (xml2generic.c) can be used to convert the XML file in another format, by replacing this function by your own,
- the README file give some information on the use of these programs.
To run custom simulations, you can use the MC2 programme, developed by Environnement and Climate Change Canada RPN group. For more information, please refer to the MC2 page (registration with an email address needed).
- Date modified: