Changes between Version 5 and Version 6 of FpClimateNorESM
- Timestamp:
- May 6, 2016, 9:47:21 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FpClimateNorESM
v5 v6 1 FLEPXART-NorESM/CAM (V1) is based on FLEXPART V9. Compared to the standard FLEXPART V9 this NorESm/CAM version does not allow nesting and it is tailored to run using the grid resolution of NorESM in the CMIP5 configuration (1.89°×2.5°) and 26 vertical levels. The code is very similar to the original FLEXPARTV9. It uses a PATHNAMES file, and a COMMAND file to input the simulations settings. In COMMAND there is an added flag to set the method to calculate the vertical velocity (GMD manuscript in preparation, see bottom of the page) and in PATHNAMES there is an additional path to a file defining the grid structure of the meteorological input data.1 FLEPXART-NorESM/CAM (V1) is based on FLEXPART V9. The code is very similar to the original FLEXPARTV9. 2 2 3 The download and installation test procedure: 3 - Compared to the standard FLEXPART V9 this NorESm/CAM version does not allow nesting and it is tailored to run using the grid resolution of NorESM in the CMIP5 configuration (1.89°×2.5°) and 26 vertical levels. 4 - In COMMAND there is an added flag to set the method to calculate the vertical velocity (see GMD manuscript in preparation, see bottom of the page) and 5 - in PATHNAMES there is an additional path to a file defining the grid structure of the meteorological input data. 4 6 5 1) Create a base directory e.g. 6 mkdir ~/repos 7 The download and installation test procedure (you need git on your local system, available as standard package of all Linux distros (Git homepage: https://git-scm.com/downloads). ): 7 8 8 2) Get the code using Git, type the command: 9 git clone !https://www.flexpart.eu/gitmob/flexpart -b flexpart-noresm9 1. Create a base directory e.g.[[BR]] 10 `mkdir ~/repos` 10 11 11 Make sure Git is installed in your system https://git-scm.com/downloads. This will create a local “flexpart” directory containing the sub-directories “src” (with sources), “tests” and “options” 12 2. Get the code using Git, type the command: [[BR]] 13 `git clone https://www.flexpart.eu/gitmob/flexpart -b flexpart-noresm` This will create a local `flexpart` directory containing the sub-directories 14 - `src` (with sources), 15 - `tests` and 16 - `options`.[[BR]] 12 17 13 3 ) Get the meteorological data and two extra “.dat” files needed by FLEXPART (~650 Mb)14 Download the file “flexpartnoresm.dat.tar” from:18 3. Get the meteorological data and two extra `.dat` files needed by FLEXPART (~650 Mb): 19 Download the file `flexpartnoresm.dat.tar` from 15 20 https://www.flexpart.eu/downloads/53 16 21 17 4) Decompress the data using the command: 18 tar -xf flexpartnoresm.dat.tar 22 4. Decompress the data using the command:[[BR]] 23 `tar -xf flexpartnoresm.dat.tar`[[BR]] 24 the archive contains the driving meteorological data for tests (in sub-directory `meteogrid`) and two essential input `.dat` files that FLEXPART needs in the `options` directory 19 25 20 the archive contains the driving meteorological data for tests (in sub-directory “meteogrid”) and two essential input “.dat” files that FLEXPART needs in the “options” directory 21 22 5) be sure to move the two input “.dat files” mentioned in (4) to the options directory e.g. use command: 23 mv *.dat options 26 5. Be sure to move the two input `.dat` files mentioned in 4. to the options directory e.g. use command: `mv *.dat options` 27 ' 28 6. Once the structure is in place one has to create the executable. 29 a. make sure the NetCDF libraries are available (Standard package for Linux, see also http://www.unidata.ucar.edu/software/netcdf/) 30 b. modify the makefile where needed to link to your local NetCDF library 31 c. make the executable: `make -f makefile_noresm_gfortran` 24 32 25 6) Once the structure is in place one has to create the executable. 26 27 a) make sure the NetCDF libraries are available (http://www.unidata.ucar.edu/software/netcdf/) 28 29 b) modify the makefile where needed to link to your local NetCDF library 30 31 c) make the executable: make -f makefile_noresm_gfortran 32 33 7) Finally test that the installation works 34 35 a) go to the “tests” directory 36 37 b1) execute the file ./create_tests 38 It will create 3 basic test cases in the directory ~/repos/flexpart/tests_tmp 39 40 b2) or execute the file /create_and_run 33 7. Finally test that the installation works 34 a. go to the `tests` directory 35 b. execute the file `./create_tests`[[BR]] 36 It will create 3 basic test cases in the directory `~/repos/flexpart/tests_tmp`[[br]] 37 or[[br]] execute the file `./create_and_run`[[br]] 41 38 It will create the tests and run automatically 42 39 43 40 The Reference for the FLEXPART-NorESM/CAM model version is: 44 Cassiani M., Stohl A., Olivié D., Seland Ø., Bethke I., Pisso I., Iversen T. (2016): The Lagrangian particle model FLEXPART-NorESM/CAM: model description, validation and an example application. To be submitted soon to Geoscientific Model Development Discussion. 41 42 Cassiani M., Stohl A., Olivié D., Seland Ø., Bethke I., Pisso I., Iversen T. (2016): '''The Lagrangian particle model FLEXPART-NorESM/CAM: model description, validation and an example application'''. To be submitted soon to ''[http://www.geosci-model-dev-discuss.net/ Geoscientific Model Development Discussion]''.