CESM Research Tools: CLM4 in CESM1.1.1 User's Guide Documentation | ||
---|---|---|
Prev | Chapter 2. Using the CLM tools to create your own input datasets | Next |
gen_domain to create a domain file for datm from a mapping file. The domai file is then used by BOTH datm AND CLM to define the grid and land-mask. The general data flow is shown in two figures. Figure 2-3 shows the general flow for a general global case (or for a regional grid that DOES include ocean). Figure 2-4 shows the use of mknoocnmap.pl (see the Section called Using mknocnmap.pl to create grid and maps for single-point regional grids) to create a regional or single-point map file that is then run through gen_domain to create the domain file for it. As stated before Figure 2-2 is the legend for both of these figures. See the mapping/gen_domain_files/README file for more help on gen_domain.
Here we create domain files for a regular global domain.
Figure 2-3. Global Domain file creation
Starting from SCRIP grid files for both your atmosphere and ocean, you use gen_cesm_maps.sh to create a mapping file between the atmosphere and ocean. That mapping file is then used as input to gen_domain to create output domain files for both atmosphere and ocean. The atmosphere domain file is then used by both CLM and DATM for I compsets, while the ocean domain file is ignored. For this process you have to define your SCRIP grid files on your own. For a regional or single-point case that doesn't include ocean see Figure 2-4. (See Figure 2-2 for the legend for this figure)
Figure 2-4. Domain file creation using mknoocnmap.pl
For a regular latitude/longitude grid that can be used for regional or single point simulations -- you can use mknoocnmap.pl. It creates a SCRIP grid file that can then be used as input to mkmapdata.sh as well as a SCRIP mapping file that is then input to gen_domain. The output of gen_domain is a atmosphere domain file used by both CLM and DATM and a ocean domain file that is ignored. (See Figure 2-2 for the legend for this figure)