Recent Releases of pysaga-cmd

pysaga-cmd - v1.2.6

  • pathlib.Path.exists() was sometimess raising OSError (e.g. when the provided path parameter was too long) 0f72079;
  • when verbose was set to true, the stdout parameter would be empty 0b5df39.

- Python
Published by alecsandrei over 1 year ago

pysaga-cmd - v1.2.5

  • Progress bar now shows the elapsed time;
  • Fixed typo in io_gdal execution aa9d9c6 (line 888);
  • Fixed vector formats bug d575871 0d17917.

- Python
Published by alecsandrei almost 2 years ago

pysaga-cmd - v1.2.2

  • There was an error on Windows regarding NamedTemporaryFile which d7bbd00 fixed. I had to add a delete=False parameter to unlock the file on Windows. From now on I will also test PySAGA-cmd on windows before every release.
  • On Windows, the command prompt should not randomly open anymore while a SAGA command runs 3f6e20e.
  • Added the possibility to convert the raster to an xarray DataArray ce6f9b0.

- Python
Published by alecsandrei almost 2 years ago

pysaga-cmd - v1.2.1

  • Fixed README.md. This was needed because the example was wrong on pypi website;
  • Added a progress bar when executing tools.

Peek 2024-03-19 20-01

- Python
Published by alecsandrei almost 2 years ago

pysaga-cmd - v1.2.0

  • Extra dependencies are now lazily imported in each function or method;
  • Tools now, by default, raise errors when stderr is not empty. This behavior can be silenced with the ignore_stderr parameter;
  • The ToolOutput has more functionality to it. You can now access the "rasters", "vectors" and "files" properties. Check out the 4th cell in this notebook example.
  • Improved type hinting throughout the package;
  • You can see which file extensions are allowed by GDAL using the "getrasterformats" and "getvectorformats" methods on the SAGA object.

- Python
Published by alecsandrei almost 2 years ago

pysaga-cmd - v1.1.2

  • Added a getsampledem function in utils;
  • Non-existing directories are skipped when searching for saga_cmd;
  • Added better type hints for ToolOutput.

- Python
Published by alecsandrei almost 2 years ago

pysaga-cmd - v1.1.1

Fixed MacOS saga_cmd search bug.

- Python
Published by alecsandrei almost 2 years ago

pysaga-cmd - v1.1.0

Implemented searching behaviour for the sagacmd file. A sagacmd path is not necessary anymore when instantiating a SAGA class.

- Python
Published by alecsandrei almost 2 years ago

pysaga-cmd - v1.0.8

Fixed bug where type hints were not available for Raster and Vector objects (see 1a386ed).

- Python
Published by alecsandrei almost 2 years ago

pysaga-cmd - v1.0.7

  • Removed the Self import from typing that made the package unusable for Python versions <= 3.10;

- Python
Published by alecsandrei almost 2 years ago

pysaga-cmd -

  • Removed cartopy from extra dependencies;
  • Improved repr's and dataclasses.

- Python
Published by alecsandrei about 2 years ago

pysaga-cmd - v1.0.5

  • Added truediv operator to select libraries/tools faster and easier and with better syntax;
  • Objects are more pythonic then before;
  • Chaining tools is now possible.

- Python
Published by alecsandrei about 2 years ago

pysaga-cmd - v0.0.7

  • Rewrote the entire code to use composition instead of inheritance.
  • Some things have changed, the code is documented, look at the notebook examples to see how to use the package.

- Python
Published by alecsandrei over 2 years ago

pysaga-cmd - v0.0.6

Fixed the parameter names inside the get_tool method.

- Python
Published by alecsandrei over 2 years ago

pysaga-cmd - v0.0.5

  • Added an Output class and plotting functions;
  • Classes are now defined with the attrs library.

- Python
Published by alecsandrei over 2 years ago

pysaga-cmd - v0.0.4

  • The 'tool_idx' parameter when constructing a Tool class has been changed to 'tool' and now takes a string as input.
  • The 'library_name' parameter when constructing a Library class has been changed to 'library'.
  • The 'library_name' attribute of a Library object has been changed to 'name'.
  • The shell=True argument of the run_command() method has been removed.

- Python
Published by alecsandrei over 2 years ago

pysaga-cmd - v0.0.3

Added a shell=True argument to SAGA.run_command().

- Python
Published by alecsandrei over 2 years ago

pysaga-cmd - v0.0.2

First functional release.

- Python
Published by alecsandrei over 2 years ago