+
Spatially-Explicit Snow Depth Initialization
via a
ModifySpatialDataByMapDisturbanceModel Parameterization
Overview
Spatially-explicit weather models may require spatially-explicit, varying amounts of "snow on the ground" (i.e. "SnowDepth") at simulation start up.
You can specify spatially-explicit snow depth amounts in a Grid ASCII (.asc) map file, and apply those amounts to a VELMA simulation via a Modify-By-Map (ModifySpatialDataByMapDisturbanceModel
) parameterization that references the .asc map.
Requirements
- One Grid ASCII (.asc) map file containing snow depth amounts.
- One Modify-By-Map parameterization specifying the snow depth .asc map file as source, and the
SnowDepth
spatial data pool as target. - The .asc map file must have the same dimensions as the simulation's specified DEM Grid file.
- The .asc map file's values should be zero or positive, and are assumed to match the
SnowDepth
target pool's units (i.e. mm).
Add a ModifySpatialDataByMapDisturbanceModel
parameterization to your VELMA simulation configuration.
Refer to the Modifying a VELMA SpatialData Pool Using Grid ASCII Map Data guide for details.
The ModifySpatialDataByMapDisturbanceModel
is the ONLY item parameterization that can be used to initialize SnowDepth
. Other spatially-explicit data (e.g. BIOMASS_LEAF_N
) can use either ModifySpatialDataByMapDisturbanceModel
or SetSpatialDataByMapDisturbanceModel
parameterizations for initialization purposes (although the latter is legacy and deprecated), but SnowDepth
cannot.
Once the parameterization is added, confirm that the following parameters are set to these values:
NOTE: The Item name "Initialize_SnowDepth" is suggested, and used below, but can actually be whatever you choose.
Group | Item | Parameter | Value |
---|---|---|---|
disturbance | Initialize_SnowDepth | modelClass | ModifySpatialDataByMapDisturbanceModel |
disturbance | Initialize_SnowDepth | occursAtStepStart | true |
disturbance | Initialize_SnowDepth | setCellOutcome | REPLACE |
disturbance | Initialize_SnowDepth | setMapValueMode | VALUE |
disturbance | Initialize_SnowDepth | spatialDataLayer | 1 |
disturbance | Initialize_SnowDepth | spatialDataName | SnowDepth |
Set the item's remaining parameters based on when you want the initialization to occur, and the name (possibly including path info) of the Grid ASCII (.asc) map file containing intial snow depth values.
Group | Item | Parameter | Value |
---|---|---|---|
disturbance | Initialize_SnowDepth | initializeActiveJdays | Set to the Julian day when snow depth initialization should occur (typically the first day of the year, i.e. 1). |
disturbance | Initialize_SnowDepth | initializeActiveLoops | Set to the simulation loop when snow depth initialization should occur (typically the first simulation loop, i.e. 1). |
disturbance | Initialize_SnowDepth | initializeActiveYears | Set to the simulation year when snow depth initialization should occur (typically the first year of the simulation). |
disturbance | Initialize_SnowDepth | spatialDataFileFullName | Set to the name (possibly including path info) of the snow depth values .asc map file. |
Weather Model Considerations
Spatially-explicit snow depths only make sense for spatially-explicit weather models.
If your simulation configuration's weather model isn't fully spatially-explicit, the VELMA simulator tries to do something reasonable, but the results may be unintuitive.
Weather Model | Spatially-Explicit? | What Happens for SnowDepth initialization |
---|---|---|
Default Weather Model | NO | The SnowDepth for every cell is set to the value specified at the outlet cell in the spatialDataFileFullName .asc map file. |
Multiple-Location Weather Model | Yes: partially | All cell in the polygonal region of a given weather station location are set to the value specified at that weather station's location in the spatialDataFileFullName .asc map. |
Multiple-Weighted-Location Weather Model | Yes: fully | All cells are set to the snow depth values in the spatialDataFileFullName .asc map. |
Spatial Weather Model | Yes: fully | All cells are set to the snow depth values in the spatialDataFileFullName .asc map. |
Special Considerations for the Spatial Weather Model
The Spatial Weather Model (SpatialWeatherModel
) has a legacy parameter, initialSnowDepthFileName
, that allows spatially-explicit snow depth initialization.
That legacy parameter still works, but it is distinct and separate from initializing snow depth via a Modify-By-Map parameterization. Setting a Spatial Weather Model's initialSnowDepthFileName
and configuring a Modify-By-Map parameterization to both initialize snow depth values should not be attempted, because the two separate mechanisms may interfere with each other.
When you use a Modify-By-Map parameterization to initialize snow depth values for a Spatial Weather Model, set the Spatial Weather Model's initialSnowDepthFileName
parameter to be blank.
Although the Spatial Weather Model's initialSnowDepthFileName
uses a different mechanism than Modify-By-Map parameterizations do, it uses the same Grid .asc map format. You can "update" a legacy VELMA configuration with a Spatial Weather Model that has initialSnowDepthFileName
set by:
- Adding a Modify-By-Map parameterization to your VELMA configuration, with parameters configured as listed above.
- Setting its
spatialDataFileFullName
value to the Spatial Weather Model'sinitialSnowDepthFileName
value. - Setting the Spatial Weather Model's
initialSnowDepthFileName
value to blank.