1 |
This directory contains the model region masks that should be used for |
2 |
the ocean inversions. Regions have been labeled with numbers 1-9 or letters. |
3 |
|
4 |
30reg_regionmask.bin: Defines the 29 ocean model regions that should be used |
5 |
for the ocean inversion. |
6 |
|
7 |
Instructions for generating 30reg_regionmask.bin |
8 |
================================================ |
9 |
|
10 |
1 ===> get 30reg_regionmask.cdf from |
11 |
quercus.igpp.ucla.edu/fletcher/ocean_inversion_input/region_mask/ |
12 |
|
13 |
2 ===> get the appropriate netcdf.inc and libnetcdf.a files |
14 |
from www.unidata.ucar.edu/packages/netcdf/ |
15 |
on nireas: |
16 |
cp ~dimitri/software/netcdf/netcdf-3.5.0/include/netcdf.inc . |
17 |
cp ~dimitri/software/netcdf/netcdf-3.5.0/lib/libnetcdf.a . |
18 |
|
19 |
3 ===> compile and run read_mask.f |
20 |
f77 -o read_mask.x read_mask.f -L. -lnetcdf |
21 |
read_mask.x |
22 |
|
23 |
4 ===> use matlab script mk_30reg_bin.m to generate |
24 |
30reg_regionmask.bin and *_regionmask.asc |
25 |
matlab |
26 |
mk_30reg_bin |