racmo_interp_mean.py
Interpolates the mean of downscaled RACMO products to spatial coordinates using surface splines
General Methods
- SMBcorr.interpolate_racmo_mean(base_dir, EPSG, VERSION, tdec, X, Y, VARIABLE='SMB', RANGE=[], FILL_VALUE=None)[source]
Reads and interpolates the temporal mean of downscaled RACMO surface mass balance products
- Parameters:
- base_dir: str
Working data directory
- EPSG: str or int
input coordinate reference system
- VERSION: str
Downscaled RACMO Version
1.0: RACMO2.3/XGRN112.0: RACMO2.3p2/XGRN113.0: RACMO2.3p2/FGRN055
- tdec: float
time coordinates to interpolate in year-decimal
- X: float
x-coordinates to interpolate
- Y: float
y-coordinates to interpolate
- VARIABLE: str, default ‘SMB’
RACMO product to interpolate
SMB: Surface Mass BalancePRECIP: PrecipitationRUNOFF: Melt Water RunoffSNOWMELT: SnowmeltREFREEZE: Melt Water Refreeze
- RANGE: list
Start and end year of mean
- FILL_VALUE: float or NoneType, default None
Output fill_value for invalid points
Default will use fill values from data file