chmbin2cdf
==========

This routine converts the unformatted binary concentration files
(out.*) produced by CHIMERE versions prior to V200510A into
netCDF files conform to the convention used in version V200510A.


Usage
=====

./chmbin2cdf.sh


Configuration
=============

Edit Makefile for :
- the location of the netCDF library
- the location of your Fortran 90 compiler
- the flags relevant to this compiler

Then :

$ make clean

to remove old .o or .e


Job definition
==============

Edit chmbin2cdf.sh

You have to fill all the items in the section
"user configurable section".

bindir (string)
------
 is the directory where the raw binary chimere out.* files
reside.

ncdir (string)
-----
 is the directory where you want to store the netCDF files.

fnoutspec (string)
---------
 is the file - in OUTPUT_SPECIES format - which lists
the species contained in chimere binary file.

fncoord (string)
-------
 is the coordinates file for this domain.

nzonal, nmerid, nivout (integer)
----------------------
 are the 3D dimensions of the chimere binary data.

nspectot (integer)
--------
 is the total number of species listed in fnoutspec.

domain (string)
------
 is self explanatory.

nphour and nprint (integer)
-----------------
 are aliases for "phys" of the main chimere script.


Job execution
=============

The "execution section" of the script launches the netCDF conversion
for all the filenames out.*_*_* found in the directory ${indir}.

In a first step, it fills a namelist file containing all the
parameter required by the conversion executable.
In a second step, it launches the executable.

