Changes between Version 4 and Version 5 of PMIP4Page


Ignore:
Timestamp:
04/30/19 17:51:22 (5 years ago)
Author:
flhardy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PMIP4Page

    v4 v5  
    66The high resolution topography etopo1 is used to generate a new bathymetry and land-sea mask for CLIO in PI conditions. [[BR]] 
    77 
    8 __Pre-processing :__ [[BR]] 
    9 1. etopo1 --> ''connectivity program '' --> clio_rotated.txt and clio_regular.txt --> ''land-sea mask program '' --> bath.txt [[BR]] 
     8__Semi-automated pre-processing steps :__ [[BR]] 
    109 
    11 The connectivity program writes the chosen variables (mean bathymetry, hypsometry...) into a text file, either on the rotated or regular clio grid. [[BR]] The two grids are put together in the land-sea mask program, which writes a text file containing the bathymetry with the land-sea mask (0 in every land grid cells). [[BR]] The mask is generated using the hypsometry, a chosen sea-level (-0.5 m for the PI), and a chosen threshold (% of surface of a grid cell above which the cell is defined as ocean - here 40 %). The mask of a few ocean grid cells is manually forced so that all the critical traits stay open. Small seas are closed. [[BR]]  
    12 The bathymetry is converted into vertical levels using the bath.om file, which contains the old depth as a vertical level (from 1 to 20, 20 being the deepest cell) and the definition of these irregular vertical levels (center and height). The old vertical level is forced for a few problematic grid cells in order to get realistic salinity values in the Mediterranean Sea and Hudson Bay. The vertical level 1 is avoided (either forced to 0 or 2), because the model cannot deal with the very shallow grid cells. [[BR]]  
     10[[Image(preprocessing_bathychange.png)]] 
    1311 
    14 2. bath.txt --> ''pre-poids '' (modified defgrid.f) --> clio.msk and clio.srf --> ''poids '' --> fractoc.dat and mozaic.w [[BR]] 
     121. The connectivity program writes the chosen variables (mean bathymetry, hypsometry...) into a text file, either on the rotated or regular CLIO grid. It can also produce the connections between ocean basins thanks to the computation of subgrid sills. [[BR]]  
     132. The two grids are put together in the bathymetry program, which writes a text file containing the bathymetry with the land-sea mask (0 in every land grid cells). [[BR]] The mask is generated using the hypsometry, a chosen sea-level (-0.5 m for the PI), and a chosen threshold (% of surface of a grid cell above which the cell is defined as ocean - here 40 %). The mask of a few ocean grid cells is manually forced so that all the critical traits stay open. Small isolated seas are closed. [[BR]] The bathymetry is converted into vertical levels using the bath.om file, which contains the old depth as a vertical level (from 1 to 20, 20 being the deepest cell) and the definition of these irregular vertical levels (center and height). The old vertical level is forced for a few problematic grid cells in order to get realistic salinity values in the Mediterranean Sea and Hudson Bay. The vertical level 1 is avoided (either forced to 0 or 2), because the model cannot deal with these very shallow grid cells. As the model also cannot deal with 'isolated' oceanic grid cells for which the last vertical level is isolated (e.g. deep grid cells with shallower neighbours), a procedure similar to a smoothing filter is applied. [[BR]]  
     143. The pre-poids program loads the new bathymetry (bath.txt file) and generate two files necessary to the next step. It contains the defgrid.f routine, slightly modified to deal the newly generated 'isolated' cells at the edges (longitudes 2 and 121). [[BR]] 
     154. The poids program uses the clio.msk and clio.srf files to compute the interpolation points between the CLIO and the T21 grid (mozaic.w), as well as the fraction of ocean seen by each T21 grid cells (fractoc.dat, aka fort.8). When running this program, kamax = 14 and komax = 17 should be printed. [[BR]] 
    1516 
    16 ''Note '' : kamax = 14 and komax = 17 when running the poids program. [[BR]] 
     17__How to run a PI simulation with the new bathymetry and land-sea mask :__ [[BR]] 
    1718 
    18 __How to run :__ [[BR]] 
     19Run with -F -I (-P), using a scenario (pi-etopo1 - commited but outdated) containing : 
     20- inputdata : fractoc.dat, clio/bath.txt, clio/mozaic.w, clio/bath.om (definition of vertical levels still needed) 
     21- parameters : run.param, with a BERING_VALUE tuned to get a realistic Bering transport (around 0.8 Sv) 
     22- sources : defgrid.f (with the right bath.txt name and modification for isolated cells at the edges) 
    1923 
    20 To run a PI simulation with the new bathymetry and land-sea mask, a directory scenario/ has to be created. The fractoc.dat and bath.txt (but also the old bath.om) have to be in inputdata/, whereas mozaic.w has to be in inputdata/clio. Don't forget the modified defgrid.f in sources/. Run with -I -F. [[BR]] 
     24__Potential sources of error when running :__ [[BR]] 
     25- "no ocean basin defined in x,y" : change the ocbas.dat file in ecbilt_clio/parameters or include a modified one in scenario/inputdata. 
    2126 
    22 __3 potential sources of error when running :__ [[BR]] 
    23 - "no ocean basin defined in x,y" : change the ocbas.dat file in ecbilt_clio/parameters/ [[BR]] 
     27- "error in runoff budget" : set bricole_Caspienne=.false. in ludus-code/lbm/sources/routageEAU.f90. 
    2428 
    25 - "error in runoff budget" : set bricole_Caspienne=.false. in ludus-code/lbm/sources/routageEAU.f90 [[BR]] 
     29- "Albedo out of range" : conflict with alb.dat, comment the LGMSWITCH.EQ.1 condition in landmodel0.f for now. 
    2630 
    27 - "rain larger than maximum set by rainmax" and "Albedo of land out of range" : variables are diverging due to a non-zero sea ice fraction in a few tropical grid cells (which were formerly land but are now ocean). The initialization of all the restart variables in new ocean grid cells in redrunb.f has been modified. 
     31- "rain larger than maximum set by rainmax" : you're in trouble, variables are diverging (e.g. due to a non-zero sea ice fraction in a few tropical grid cells - which were formerly land but are now ocean ?). Check if the number of 'isolated' grid cells has fallen to 0 in step 2. 
     32 
     33- NaN : whatever, try a restart. 
    2834 
    2935== '''2. LGM simulations''' == 
     
    3339__Pre-processing :__ [[BR]] 
    3440 
    35 The same pre-processing is applied with the following LGM topography, computed with a regridding : [[BR]] 
     41The same pre-processing is applied with the following LGM topography, computed with a regridding on the etopo1 grid : [[BR]] 
    3642{{{ 
    3743LGM topography = PI (etopo1) + LGM Peltier (ICE-6G-C 21kyr) - PI Peltier (ICE-6G-C 0kyr) 
     
    6773 
    6874== '''3. Transient simulations''' == 
     75 
     76To accomodate restarts with a modified bathymetry (and in the long run an interactive bathymetry for transient simulations), the model has to generate realistic values of the tracers content of new oceanic grid cells. A new module has been commited (clio/sources/update_clio_bathy_tools.f90). The initialization of all the restart variables in new ocean grid cells (in redrunb.f) is now done by either setting 0 or averaging the values in neighbouring oceanic grid cells.