Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write documentation and streamline general behaviour (#351)
* Add Mask subclass * Add arithmetic tests and move __eq__ to raster_equal() * Incremental commit on tests * Finalize tests and linting * Linting * Make mypy happy * Update nbands into count after merge of related PR * Move doc to sphinx-book-theme * Restructure * Skeleton * Incremental commit on doc * Incremental commit on doc * Incremental commit on doc * Incremental commit on doc * Incremental commit on doc * Incremental commit on doc * Incremental commit on doc * Incremental commit on doc * Quick start finalized! * Incremental commit on docs * Incremental commit on doc * Pin dependencies for sphinx * Incremental commit on doc * Incremental commit on doc * Remove jupyter myst folder * Incremental commit on doc * Incremental commit on doc * Incremental commit on doc * Incremental commit on documentation * Incremental commit on doc * Incremental commit on doc * Fix behaviour of load() with load_data=False as default, add and modify tests * Add _repr_html_ functions * Fix behaviour with load_data=False in _overloading_check and tests in satimg * Update quick start with myst-nd and start new gallery of examples * Incremental commit on gallery examples * Merge and add new gallery folders to gitignore * Incremental commit on example gallery * Update sphinx env method * Add mamba to readthedocs build * Add self package install in dev-env * Incremental commit on documentation * Add logo to documentation * Incremental commit on doc * Incremental commit on doc * Incremental commit on doc * Add Vector.show and simplify gallery examples * Fix sphinx errors * Fix tests * Fix tests * Linting * Make mypy ignore other files than core and tests * Fix example * Fix diff calculation with self install in dev env * Now should work * What about now? * Hard reset cache * Try to remove jinja condition now that mamba is solving * Try pip --user option for Windows * Array ufunc fixes * Ensure array functions are cast to Raster if they preserve the shape (isfinite, isnan, isclose, etc) * Linting * Fix typo * Linting * Try to hard reset cache to fix Mac tests * Update quick start * Linting * Force reset cache * Update with sphinx-book-theme 1.0 release * Linting * Force cache reset again * Fix path to doc * Force cache reset again * Add graphviz to dev environment for inheritance diagrams * Add pygraphviz to dev environment as well... * Fix incorrect parameter description in reproject * Fix operator in value_to_coords * Adapt tests to value_to_coords to check all values on pixel are resolved * Fix cache re-loading error by moving all dependencies to conda-forge channel * Fix parameter description * Linting * Clarify conf and modify title * Add option as_array to Vector.create_mask() and index and index assignment to raster * Add tests to pass a Mask to set_mask * Make nodata values a tuple and not list to be immutable, and thus hashable * Add test for shift * Add tests for diff_env_yml * Add test for diff_yml * Linting * Refactor crop_geom to remove camel-case, add geovector tests on missing coverage * Fix cropGeom refactoring * Streamline main description of functions in raster * Streamline the function and attribute descriptions in geovector * Linting * Add test for to_xarray * Linting * Fix test_init * Linting * Add tests for diff_yml * Add tests for mask overloaded functions and logical bitwise operations * Linting * Fix mask class methods * Adjust repr test for mask * Add more tests to spatial tools and georaster * Add tests for geoviewer * Linting * Add tests in satimg * Linting * Homogenize errors and add tests for geoviewer * Add random state tests for subsample * Linting * Add coveragerc file to exclude overload and importerrors that do not need to be tested * Linting * Fix tempfile error on Windows * Add tests for coords(), that was malfunctioning * Reorganize spatial tools into georaster/ modules * Linting * Rename modules georaster and geovector into raster and vector (geo is already in geoutils) * Linting * Homogenize syntax in docstrings * Linting * Reset cache for pip setup of new geoviewer * Try to remove graphviz * Incremental commit on wrapping GeoPandas API * Finalize tests for GeoPandas interface * Linting * Fix misc description * Update pre-commit * Remove not implemented geopandas functions * Wrap I/O geopandas method and fix tests * Linting * Define raster transform and crs as properties, remove the old attrs * Linting * Try to rename raster.py in raster to avoid errors on Mac and Windows * Fix renaming with core * Try to re-order init imports * Change package setup to try fix on mac and windows * Try re-installing via pip * Fix raster into core in sphinx conf and doc * Only run docs on Linux * Linting * Re-refactor into raster.py (not the source of error), and fix temporary files in test_save of raster and vector * Linting * Make sphinx gallery thumbnail not visible, remove open_save example files with post-build sphinx cleanup * Linting * Update logo * Move forward on Vector documentation * Linting * Incremental commit on doc * Linting * Add tests for get_footprint_projected * Add get_metric_crs and tests * Add description of functions in projtools * Linting * Streamline README and CONTRIBUTING * Linting * Streamline README further * Streamline README further * Streamline agaaain * Finish README * Again * Try this * Make a bit better again * And a bit more again * Linting * Cast .data of single-band rasters to 2D, fix methods and tests * Linting and fix some inconsistencies * Fix docs * Add xarray and rioxarray to main environment * Account for amaurys comments * Linting * Finish accounting for comments * Linting * Change default mode to dark to remove logo issue * Add binder * Add myst-nb to binder environment to open .md files as jupyter notebooks * Replace by myst-nb for binder env * Add default parameters for JupyterLab opening of markdown into Binder build * Add display name * Try with more jupytext settings * Update documentation pages with binder setup * Linting * Modify repo url to main before merging * Clarify settings of conf and postbuild
- Loading branch information