Preparing the soil data raster

The soil data (field capacity and wilting point) should be saved in a single netCDF4 file with these two variable names : Wfc for field capacity and Wwc for wilting point. As for the land cover, you can reproject existing data using OTB for each variable and convert the resulting rasters using the following function:

Warning

Development in progress

If you only have scalar values for these parameters, you can also generate a uniform dataset using the following function:

Warning

Development in progress

You should then have a netCDF4 dataset on the same grid as the other inputs containing both the field capacity and wilting point variables.

Soil data preprocessing

Soil data processing can be done with the custom_inputs.ipynb notebook found in the modspa_pixel/preprocessing directory. It can handle both the pixel and parcel mode.