source: trunk/LMDZ.VENUS/Tools/startarchive2icosa/README @ 3590

Last change on this file since 3590 was 3392, checked in by emillour, 7 months ago

Venus PCM:
Add some utilities to generate Venus PCM DYNAMICO start files
from a lon-lat start_archive.nc file
EM

File size: 2.1 KB
Line 
1This directory contains some prototypes and example of programs
2and scripts to generate initial condition files for Venus-DYNAMICO
3from a Venus PCM (lon-lat) start_archive file
4
5Preliminary steps and requirements:
6----------------------------------
7- You must have run a Venus-DYNAMICO simulation (with startphy_file=.false.)
8  at the sought horizontal (nbp=...) and vertical (llm=...) resolution
9  to have adequate start.nc and startphy.nc files
10  called start_icosa_ref.nc and startphy_icosa_ref.nc hereafter
11- You will need at start_archive.nc file obtained from a Venus PCM run.
12- You need a high resolution topography file, e.g. topo_Thomas_inv_nc4.nc
13
14- You need some NCO tools to post-process/adapt some of the NetCDF files
15
16In a nutshell:
17--------------
181) The input start_archive.nc needs to be converted to NetCDF4 format
19   (for compliance with XIOS); you can use "nccopy" for that:
20nccopy -k 4 start_archive.nc start_archive_nc4.nc
21
222) Two Fortran programs, start_archive2icosa.f90 and rearrange_startphy.f90
23   will be needed, so you have to compile them
24An example "compile" script is provided, which you'll need to adapt to
25your own settings to generate executables start_archive2icosa and
26rearrange_startphy
27
283) You should first run "start_archive2icosa". It needs quite a bit of memory
29   and cores so you'll probably need to create and submit a job
30script "job_start_archive2icosa" is provided as an illutrative example
31to adapt to your own system.
32To run, "start_archive2icosa" needs:
33start_archive_nc4.nc, start_icosa_ref.nc, startphy_icosa_ref.nc,
34topo_Thomas_inv_nc4.nc and iodef.xml
35You may need to adapt iodef.xml to match variable names in start_icosa_ref.nc
36(especially if you have tracers which might have different names)
37Upon successful completion, the program will generate two files:
38"start_icosa.nc" and "startphy_icosa.nc"
39
404) Some further tailoring is needed, including a reordering of columns
41(via the rearrange_startphy program) and some minor additions.
42All this is handled by the icosa_finalize.bash script which should be run
43and will generate start.nc and startphy.nc files usable by Venus-DYNAMICO
44
Note: See TracBrowser for help on using the repository browser.