wiki:IPSLCM6/MOSAIX

Version 5 (modified by omamce, 6 years ago) (diff)

--

MOSAIX

MOSAIX is a small set of fortran routines, bash scripts, python scripts and xml files allowing to generate coupling weights for IPSL Earth System Model. It is under development, and presently not used by the production runs. It aims to replace the old MOSAIC software. It uses XIOS as a library to compute weights. In the present state, it can handle ORCA, LMDZ lon/lat and DYNAMICO grids.

MOSAIX work in parallel, using MPI distributed memory.

Known problems

  • Generation of weights for 2nd order interpolation doesn't work
  • Some precision problems.

Code availability

Portability

MOSAIX has been tested on Curie (TGCC).

Requirement

Input files

MOSAIX needs files describing the grid of the models. See CreateWeightsMask.bash

Scripts and codes

  • CreateWeightsMask.bash. Creates the weights to interpolate between atmospheric and ocean grid. Weight files are suitable for OASIS-MCT. Creates the fraction of ocean in atmospheric grid cells. Use parallel processing with MPI.
  • CreateOasisGrids.bash. Creates files grids.nc, areas.nc and masks.nc with information from both models, suitable for OASIS-MCT. Mono CPU.
  • update_xml.py. Python script used to perform on the fly editing of xml files. Used by the previous bashes.
  • iodef_atm_to_oce.xml and iodef_oce_to_atm.xml.
  • MOSAIX/src/MOSAIX/interpol.f90. Fortran source using the XIOS library.
  • bld.cfg. fcm configuration file to compile interpol.f90.
  • CreateRestartOce4Oasis.bash. Creates restart files for the coupler, ocean side. Should be moved elsewhere. Mono CPU.
  • CreateRestartAtm4Oasis.bash. Creates restart files for the coupler, atmosphere side. Should be moved elsewhere. Mono CPU.

Grids

  • [tuv]orc. ORCA grid at [tuv] points. Masked on land, with area equal to grid box surface
  • tlmd. LMD rectilinear grid at scalar (physics) point. Masked on land, with area equal to grid box surface.
  • tico. LMD icosahedron grid at scalar (physics) point. Masked on land, with area equal to grid box surface.
  • olmd. LMD rectilinear grid at scalar (physics) point. Not masked, with area equal to grid box surface.
  • oico. LMD icosahedron grid at scalar (physics) point. Not masked, with area equal to grid box surface.
  • aone. LMD icosahedron grid at scalar (physics) point. Not masked, with area equal to 1.
  • otot.