== CTBTO Project Wiki Page == === Update: 2015-03-18 === This project is carried out in collaboration by the following partners: * Comprehensive Nuclear-Test-Ban Treaty Organization (CTBTO) * Geophysical Institute at the University of Alaska Fairbanks (UAF) ([http://www.gi.alaska.edu/]) * Zentralanstalt für Meteorologie und Geodynamik (ZAMG) ([http://www.zamg.ac.at/]), Vienna * Angewandte Wissenschaft Software und Technologie (AWST) GmbH ([http://www.awst.at/]), also in Vienna The '''aim''' of the project is to''' enhance the FLEXPART modeling system for CTBTO operations''', and to contribute the enhancements into the mainstream FLEXPART distribution for the benefit of others. This should enable CTBTO to benefit from new science and techniques used in future FLEXPART versions, while insuring that their own enhancements remain part of the distribution. The scope of the project includes the following functionality areas: 1. Allow GRIB input data to be pre-processed before FLEXPART runs 2. Allow reading of both NCEP and ECMWF GRIB files using the same executable 3. Allow dynamic allocation of simulation grid and particles 4. Add configuration option for outputting same units in backward runs as in forward runs 5. Support reading ECMWF GRIB files in various sub-formats 6. Add Makefiles for ifort Work is currently ongoing on the second functionality-area above. More specifically, this entails: * Unifying the GRIB reading routines in FLEXPART so that one executable may use either NCEP or ECMWF met files. * Building a simple, initial regression testing system by which modifications to FLEXPART can be validated for consistency in output and performance * Setting up a private developmental repository and ticketing system for the project in a way that developmental releases (a CTBTO-developmental branch) can be made accessible to the mainstream flexpart.eu community for evaluation and integration into the main branch * Planning and providing a presentation on the project at the FLEXPART Developers meeting to be held in Vienna during EGU week. Updates on the project will be described in this public wikipage and will also be introduced in the ticketing system for easy follow up from FLEXPART developers and the community. === Update: 2015-06-30 === To perform the unification in the GRIB reading routines in FLEXPART to achieve a single executable, the following steps have taken place: 1. Documentation and test cases have been added into the source code within their respective directories. The testing environment is constituted of a set of simple modules that can be independently called but that are meant to be in a high level structure. http://flexpart.eu:8088/svn/CTBTOdevel/trunk/flexpart-testing/doc/ for readily available mark down documentation. An example of the functioning and outcome of the testing is added below. 2. The FLEXPART version in the trunk (as of date 16 February 2015) has been used to program the unification of routines. The code has modified as follows: * renaming of duplicated routines so that both versions could be used in a single build * adding a routine to detect the format to be used (detectformat.f90) 3. Added to the distribution a fairly simple and documented tested python-based environment documented python-based testing environment. The code, documentation and environment may be obtained in http://flexpart.eu:8088/svn/CTBTOdevel/trunk/ FlexpartErrorsTemporaryDocumentation