Skip to content

Commit

Permalink
Develop (#292)
Browse files Browse the repository at this point in the history
bring changes form develop
  • Loading branch information
weiyuan-jiang committed Aug 12, 2020
1 parent 7723432 commit 7119dce
Show file tree
Hide file tree
Showing 14 changed files with 4,154 additions and 3,940 deletions.
26 changes: 20 additions & 6 deletions doc/README.metforcing_and_bcs.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ Met Forcing

Surface meteorological forcing data

The forcing time step is controlled with the configurable resource variable __FORCE_DTSTEP__ and __must match the frequency of the input forcing files__.
Specify FORCE_DTSTEP=3600 [seconds] for GEOS products, incl. MERRA, MERRA-2, FP, and FP-IT/RP-IT, which are 1-hourly datasets.

The spatial (horizontal) interpolation method for the met forcing is controlled
by `MET_HINTERP` (see optional parameters in `exeinp` input file to ldas_setup).

Expand All @@ -26,10 +29,10 @@ by `MET_HINTERP` (see optional parameters in `exeinp` input file to ldas_setup).

- `MET_TAG` is an identifier for the forcing data set

- Available non-MERRA and non-GEOS-5 forcing data sets are pre-defined
- Available non-MERRA and non-GEOS forcing data sets are pre-defined
in subroutine get_forcing()

- For MERRA and other GEOS-5 forcing datasets see special `MET_TAG`
- For MERRA and other GEOS forcing datasets, see special `MET_TAG`
parsing conventions in subroutines parse_MERRA_met_tag(), parse_MERRA2_met_tag()
and parse_G5DAS_met_tag()

Expand Down Expand Up @@ -72,13 +75,19 @@ SMAP_Nature_v04, SMAP_Nature_v04.1
MET_PATH : /discover/nobackup/projects/gmao/merra/iau/merra_land/GEOS5_land_forcing/
```

SMAP_Nature_v05, v7.2, v8.1; SMAP L4_SM Version 4, Version 5
SMAP_Nature_v05, v7.2, v8.1, v8.3; SMAP L4_SM Version 4
```
MET_PATH : /discover/nobackup/projects/gmao/merra/iau/merra_land/MERRA2_land_forcing/ ! before 1/1/2015
MET_PATH : /discover/nobackup/projects/gmao/merra/iau/merra_land/GEOS5_land_forcing/ ! after 1/1/2015
```

GEOS-5 forcing (including FP, FP-IT/RP-IT, and precip-corrected GEOS-5 forcing)
GEOS FP forcing with "seamless" file names, for use with MET_TAG=GEOS.fp.asm[__prec*] (__PREFERRED__);
SMAP L4_SM Version 5
```
MET_PATH : /discover/nobackup/projects/gmao/smap/SMAP_L4/GEOS/FP/
```

GEOS forcing with experiment-specific file names, incl. FP (__DEPRECATED__), FP-IT/RP-IT, and precip-corrected GEOS forcing
```
MET_PATH : /discover/nobackup/projects/gmao/merra/iau/merra_land/GEOS5_land_forcing/
```
Expand Down Expand Up @@ -208,12 +217,17 @@ COMMONLY USED values for `MET_TAG`:
MET_TAG : cross_FP__precCPCUG5FPv2 ! after 1/1/2015
```

#### SMAP_Nature_v05, v7.2, v8.1; SMAP L4_SM Version 4, Version 5
#### SMAP_Nature_v05, v7.2, v8.1, v8.3; SMAP L4_SM Version 4
```
MET_TAG : M2COR_cross__precCPCUGPCP22clim_MERRA2_BMTXS ! before 1/1/2015
MET_TAG : cross_FP__precCPCUG5FPv3 ! after 1/1/2015
```

#### SMAP L4_SM Version 5
```
MET_TAG : GEOS.fp.asm__precCPCULLKG5FPv3 ! (precip corr with late-look CPCU)
MET_TAG : GEOS.fp.asm__precCPCUFLKG5FPv3 ! (precip corr with first-look CPCU)
```

Boundary Conditions
================================================================================
Expand Down Expand Up @@ -309,7 +323,7 @@ Notes:

Notes:
- Icarus-NLv4 is identical to Icarus-NLv3 except that NLv4 reinstates veg heights from JPL/Simard et al. 2011 Lidar data.

- Generated with GEOSldas tag v17.9.0-beta.7 under SLES11 O/S.


Expand Down
9 changes: 8 additions & 1 deletion src/Applications/LDAS_App/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
esma_set_this ()

set (srcs
preprocess_ldas_routines.F90
)
esma_add_library(${this} SRCS ${srcs} DEPENDENCIES GEOSldas_GridComp MAPL)

ecbuild_add_executable (
TARGET GEOSldas.x
SOURCES GEOSldas.F90
Expand All @@ -13,7 +20,7 @@ foreach (prog ${executables})
ecbuild_add_executable (
TARGET ${prog}.x
SOURCES ${prog}.F90
LIBS GEOSldas_GridComp mk_restarts)
LIBS ${this} GEOSldas_GridComp mk_restarts)
endforeach ()

install(
Expand Down
8 changes: 5 additions & 3 deletions src/Applications/LDAS_App/ldas_setup
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,11 @@ class LDASsetup:
for key,val in _domain_dic.iteritems() :
keyn=(key+" = ").ljust(16)
valn = str(val)
fout.write(keyn+ valn +'\n')
if '_FILE' in key:
fout.write(keyn+ "'"+valn+"'"+'\n')
else :
fout.write(keyn+ valn +'\n')
fout.write('/\n')


# make sure bcs files exist
if self.rqdExeInp['RESTART'].isdigit() :
Expand Down Expand Up @@ -642,7 +644,7 @@ class LDASsetup:
if self.islocal:
newlocalTile = tile+'.domain'
print "\nCreating local tile file :"+ newlocalTile
print "\nwith land type 1100 excluded....\n"
print "\n by excluding land type MAPL_Land_ExcludeFromDomain=1100...\n"
cmd = './preprocess_ldas.x c_localtile ' + tile + ' ' + newlocalTile
print "cmd: " + cmd
sp.call(cmd,shell=True)
Expand Down
Loading

0 comments on commit 7119dce

Please sign in to comment.