0. Working Directory
For this tutorial, I am working on these folder /Users/bennyistanto/Temp/xxx/SPI/Java (applied to Mac/Linux machine) or Z:/Temp/xxx/SPI/Java (applied to Windows machine) directory. I have some folder inside this directory:
-
Downloads-
IMERGIMERG_mmhrIMERG_mmmonthIMERG_originalfiles
-
CHIRPSnetCDFGeoTIFF
Place to put downloaded IMERG or CHIRPS data
-
-
FittingPlace to put fitting parameters output from the calculation
-
Input_ncPlace to put netCDF data that will use as an input
-
Input_TIFPlace to put GeoTIFF file that will use to convert to single netCDF with time dimension enabled
-
Output_ncOutput folder for SPI calculation
-
Output_TEMPTemporary for nc files from CDO arrange dimension process
-
Output_TIFFinal output of SPI, generate by CDO and GDAL
-
ScriptPython script location to convert bunch of GeoTIFF file to single netCDF
-
SubsetPlace to put shapefile for clipping area of interest
Feel free to use your own preferences for this setting/folder arrangements.
Notes:
xxx = IMERG or CHIRPS (depend on the data used in tutorial)