Shading parameter files
There are two types of shading parameter files that need to be specified whenShading = TRUE:
Shadow map files
- Required:
- Required when
Shading = TRUE. - Read by:
InitNewMonth()- Format:
- 2D Matrix
- Purpose:
- Contains a shading factor for every cell in the basin for each month. NOTE: This is a compound grid, with one shading factor for every timestep of the day (e.g., 8 sequential grids for a 3 hour timestep input). Shading factors vary from 0-255.
- Comments:
- File names are expected to be of the format:
<shading data path>.xx.<shading data extension>,
wherexxis a 2-digit integer inidicating the month (use a leading zero for number smaller than 10) - Details:
-
If the
formatisBINorBYTESWAP, then anunsigned charshould be used.If the
formatisNetCDF, thenNC_CHARshould be used and the variable name in the NetCDF file should beShade.Factor.The shadow map files are masked based on the content of the mask file.
Skyview file
- Required:
- Required when
Shading = TRUE. - Read by:
InitShadeMap()- Format:
- 2D Matrix
- Purpose:
- Contains the sky view factor for every individual grid cell in the basin.
- Comments:
- Details:
-
If the
formatisBINorBYTESWAP, then afloatshould be used.If the
formatisNetCDF, thenNC_FLOATshould be used and the variable name in the NetCDF file should beSkyView.FactorThe skyview file is masked based on the content of the mask file.
Last Changed:
October 28, 2002 10:09 AM

