Commit 85f4e15e authored by Ignacio Pisso's avatar Ignacio Pisso

delete tests/preproc

parent 2b75fff6
# README #
This documentation shows how to extract ECMWF ERA-Interim GRIB fields and generate FLEXPART WINDFIELDS.
Make sure you have installed FLEXPART preproc properly (see corresponding installation instructions).
./run_retrieve
--> It will generate a directory called 2007 containing ECMWF ERA-Interim GRIB fields
--> And a directory called WIND_FIELDS containing FLEXPART WINDFIELDS to run FLEXPART.
After this test, you can remove ECMWF ERA-Interim GRIB fields as they are no longer needed:
rm -rf 2007
Then you can test your new generated WIND_FIELDS (see separate example).
&NAMGEN
MAXL=360, MAXB=181,
MLEVEL=60, MLEVELIST="1/TO/60",
MNAUF=159,METAPAR=77,
RLO0=-179.0, RLO1=180.0, RLA0=-90.0, RLA1=90.0,
MGAUSS=1,
MSMOOTH=0,META=0,
MDPDETA=1
/
&NAMFX2
NX=360, NY=181,
MAXTIME=400,JPOLY=4,
JHRF=3,
RLO0=-179.0, RLA0=-90.0, DX=1.0/1.0, DY=1.0/1.0
/
#!/bin/bash
if [ -z "$FLEXPART_HOME" ]; then
# if FLEXPART_HOME is not defined we assume you run this test from tests/preproc and
# flexpart is installed in $PWD/../..
#
export FLEXPART_HOME=$PWD/../..
fi
# For this test, we generate WINDFIELDS in the current directory
FLEXPART_WINDS=$PWD/WIND_FIELDS
# You may change these dates if you want to test your installation on other dates!
# SDATE is the start date
SDATE=20070119
# EDATE is the end date
EDATE=20070120
# This directory contains GRIB templates for generating WINDFIELDS from ECMWF ERA-Interim data.
export GRIB_TEMPLATES_PATH=$FLEXPART_HOME/preproc/grib_templates
# Extract ECMWF ERA-Interim data from ECMWF Meteorological Archive (MARS) with ecmwfapi
# we do not specify the output directory so data will be stored in the current directory
getEIdata.py --start_date=$SDATE --end_date=$EDATE --area=90.0/-179.0/-90.0/180.0
# Generate FLEXPART WINDFIELDS from ECMWF ERA-Interim data and store them in $FLEXPART_WINDS
prepareFLEXPART.py --start_date=$SDATE --end_date=$EDATE --namelist=convert.namelist --inputdir=./ \
--outputdir=$FLEXPART_WINDS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment