Tool Box Venus PCM

From Planets
Revision as of 17:45, 4 August 2024 by Emillour (talk | contribs)

Jump to: navigation, search

Post-processing tools provided with the Venus PCM

First and foremost there are a number of postprocessing utilities (self-standing tools) which can be found in the UTIL and LMDZ.VENUS/Tools directories. Secondly one has some extra main programs in the dynamics-physics interface.

UTIL

LMDZ.VENUS/Tools

Main programs (other than GCM) but included in the Venus PCM package

There are a few other main programs that are included with the GCM.

Advanced stuff: these main programs are located under LMDZ.VENUS/dynphy_lonlat/phyvenus/ as they are at the interface between lon-lat dynamics and the Venus physics package

start2archive

This program collects multiple start.nc and startfi.nc files from a series simulations and store them in a start_archive.nc file. For this one simply needs to run the startarchive program in the directory. It will automatically fetch start.nc and startfi.nc files and generate start_archive.nc. If a start_archive.nc file is already present then the current start.nc and startfi.nc files are added to the start_archive.nc file (which can contain multiple initial states, as long as they are on the same grid and correspond to different dates.

The startarchive program should be compiled at the same resolution as the gcm which produced the start files, using the makelmdz_fcm compilation script

newstart

This program is to:

  • extract (and interpolate) restart.nc and restartfi.nc files from a start_archive.nc file or from a pair of start.nc and startfi.nc files. The subtle difference between the two setup is that grid interpolation (horizontal and/or vertical) is only possible if using a start_archive.nc input file
  • modify values and fields contained in the initial condition file
  • Compiling newstart is done using the makelmdz_fcm utility. The program is then meant to be run interactively with the user providing options and choices when prompted.
  • Once the program has run and finished without error, it will generate restart.nc and restartfi.nc

The rcm1d 1D column program

The source code is located under LMDZ.VENUS/libf/phyvenus/dyn1d

... Compilation...