Back to home page

MITgcm

 
 

    


Warning, /verification/natl_box/README.md is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit 0c90ef58 on 2024-05-15 16:50:06 UTC
cdf4d1244c Patr*0001 Example: Subtropical North Atlantic Subduction area
d6a28d3589 Jean*0002 ====================================================
0c90ef582a Jean*0003 This experiment has been moved (PR #830) inside `lab_sea` and is now run there
                0004 as secondary tests ("lab_sea.natl_box" and "lab_sea.longstep")
                0005 using `input.natl_box/` and `input.longstep/`.
                0006 
                0007 Original Description:
                0008 =====================
cdf4d1244c Patr*0009 - with KPP & shortwave heating
                0010 - no GMRedi
                0011 
                0012 Configure and compile the code:
0c90ef582a Jean*0013 ```
d6a28d3589 Jean*0014   cd build
                0015   ../../../tools/genmake2 -mods ../code [-of my_platform_optionFile]
cdf4d1244c Patr*0016   make depend
                0017   make
d6a28d3589 Jean*0018   cd ..
0c90ef582a Jean*0019 ```
cdf4d1244c Patr*0020 
                0021 To run:
0c90ef582a Jean*0022 ```
d6a28d3589 Jean*0023   cd run
                0024   ln -s ../input/* .
                0025   ../input/prepare_run
                0026   ln -s ../build/mitgcmuv .
                0027   ./mitgcmuv > output.txt
                0028   cd ..
0c90ef582a Jean*0029 ```
cdf4d1244c Patr*0030 
d6a28d3589 Jean*0031 There is comparison output in the directory:
0c90ef582a Jean*0032   `results/output.txt`
cdf4d1244c Patr*0033 
d6a28d3589 Jean*0034 ----------------------------------------------------
cdf4d1244c Patr*0035 A FORTRAN program provides a verification procedure.
                0036 It is based on the boundary layer depth and will either issue:
0c90ef582a Jean*0037 
                0038 ```'North Atlantic test passed.  KPPhbl file is unchanged.'```
                0039 
cdf4d1244c Patr*0040 or:
                0041 
0c90ef582a Jean*0042 ```'North Atlantic test failed.  KPPhbl file has changed.'```
                0043 
                0044 ```
d6a28d3589 Jean*0045   cd run
                0046   ln -sf ../output/KPPhbl.001.001.data KPPhbl_orig
                0047   f77 ../results/comp_orig.F -o comp_orig
cdf4d1244c Patr*0048   comp_orig
0c90ef582a Jean*0049 ```
cdf4d1244c Patr*0050 
0c90ef582a Jean*0051 N.B.: On ORIGIN 2000 use `f77 -bytereclen`
cdf4d1244c Patr*0052 
0c90ef582a Jean*0053 A matlab script, `matlab/comp_output.m`, creates plots for
cdf4d1244c Patr*0054 reference (c32) and new surface temperature, boundary layer depth,
d6a28d3589 Jean*0055 meridional section of tracer diffusivities, and
cdf4d1244c Patr*0056 corresponding differences.
                0057 
                0058 Comments:
0c90ef582a Jean*0059 The input data is `real*4`.