Skip to content

v0.1.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@kasra-keshavarz kasra-keshavarz released this 12 Jul 19:36
· 60 commits to main since this release
b6e6d79
gistool v0.1.0-rc1 release (#1)

* creating dev branch

* parsing MERIT-Hydro extents

* modifications on MERIT-Hydro script and validating its output

* adding .gitignore and details

* adding stats extraction feature without testing

* adding renv setup and files

* debuggin and adding stats and quantiles capabilities

* finalizing merit-hydro

* finalizing merit-hydro stats and subsetting

* Changing GDAL versin from 3.0.4 to 3.4.1

The change is due to complete compatibility with all
the datasets included in this tool, mainly the MODIS
MCDQ12A (land cover) dataset that works best with
the 3.0.4 version.

* Adding the capability to subset and implement efficient zonal statistics
on SoilGridsV1 GeoTIFFs

The file reads the .tif files, geographically subsets the files based on
the given latitude and longitude extents, and prints given input
`--stats` in a .csv file.

The users are expected to enter complete variable names taken from the
GitHub repository README page for this specific datasets.

Reported by: Kasra Keshavarz
Signed-off-by: Kasra Keshavarz <kasra.keshavarz@usask.ca>

* Debugging problems with zonal statistics and adding log date for errors

The zonal statistics were migrated from merit-hydro scripts without
modifications, so necessary editions were implemented to conform to the
SoilGridsV1 dataset and its nomenclature.

The log date has been prepended to the program-generated errors and
warnings which is useful for future debuggings, etc.

Reported by: Kasra Keshavarz
Signed-off-by: Kasra Keshavarz <kasra.keshavarz@usask.ca>

* initial README.md file for SoilGrids dataset

* README file created for MODIS dataset

* missing logDate from previous commit added now

* Adding MODIS zonal statistics and GeoTIFF Subsetting feature

MODIS landcover provides valuable information for setting up
hydrological models and therefore it has been added to the repository.

The zonal statistics using `exactextractr` is very efficient and
produces `frac` of each land cover class. Apart from that, all other
statistics that are available to other datasets, could be used with this
dataset as well.

Reported by: Kasra Keshavarz
Signed-off-by: Kasra Keshavarz <kasra.keshavarz@usask.ca>

* removing debugging lines

* adding initial information for the main README page

* renaming for better clarity of the tool

* adding few options to take into account shapefiles that does not have a CRS defined

* renaming

* initial example and README files

* initial README file

* merit-hydro example initialized

* adding the job submission option to the example

* initial soil grids example added

* modis example initialized

* typos corrected

* fixing typos

* Added description of README file for future reference

* adding license header

* relevant info added to the README file

* typos and corrections

* adding no verbose option to wget download

* adding missing backslashes for line continuation

* adding quiet option to wget

* typos

* correcting wget options orders

* fixing job submission cache path typos

* adding full path to the shapefile argument

* necessary technical details of the MERIT-Hydro dataset

* typos, correction, and adding file contents of one .tar file as an example

* Added necessary technical information to the READMEs

* necessary extra info added

* correcting soil_grids directory address typo

* fixing typos