Releases: jgliss/geonum
geonum refs/tags/v1.5.0
What's Changed
- Prepare release of version 1.4.5 by @jgliss in #7
- Prepare release v1.4.6 by @jgliss in #8
- Add tests by @jgliss in #9
- attempt fix of #11 by @jgliss in #12
- Major updates and improvements in ElevationProfile class by @jgliss in #10
- Cleanup tests by @jgliss in #13
- Cleanup tests by @jgliss in #14
- add more tests by @jgliss in #15
- update CI.yml by @jgliss in #17
- Review GeoSetup and add tests by @jgliss in #16
- revise example scripts by @jgliss in #18
- Update documentation by @jgliss in #22
- Add more tests by @jgliss in #20
- Use sphinx gallery for examples by @jgliss in #19
- Fix readthedocs build by @jgliss in #25
- Add pyproject.toml by @magnusuMET in #24
- Enable auto-release via tag by @jgliss in #23
- V1.5.0 release by @jgliss in #27
New Contributors
- @jgliss made their first contribution in #7
- @magnusuMET made their first contribution in #24
Full Changelog: v1.4.4...v1.5.0
Fix bug in atmosphere module
Bug fixed in atmosphere
module, in method density
, that gave wrong results when providing a temperature. Everything else is as in v1.4.3.
Available via conda
geonum is now tested for Pyhton 2.7 and 3.6 on OSX, Windows and linux and can be installed via:
conda install -c conda-forge geonum
Compared to the last release (v1.4.1), this release mainly comprises a code cleanup related to matplotlib imports in the individual modules, to simplify CI/CD for distribution via conda-forge. No changes to the geonum source code were applied.
More tests and better conda support
This release mainly comprises more tests and updated installation and dist settings, for deploying via conda-forge. No changes in geonum source code.
Major improvements in API, user-friendliness and robustness
This release mostly comprises improvements and refactoring of the API that will improve the user-friendliness and will reduce interdependencies of individual classes or modules.
Note: due to the applied API changes this release is not fully backward compatible with the previous release, as it includes renaming and refactoring of some modules and classes as specified below in section API changes. However, most of the standard routines and toplevel class imports remain functional compared with previous versions. In case any errors occur when running scripts based on earlier versions of geonum, it should be straightforward to fix it (it will be likely only a different import). E.g. a statement
from geonum.base import GeoPoint
would now be:
from geonum.geopoint import GeoPoint
Or simply:
from geonum import GeoPoint
which works in the current and all previous versions.
New features
- More options for computation of elevation profiles (mapping of coordinates).
- Added method 'delete_all_local_srtm_files' to new module topoaccessbase.py (should be self explanatory).
API changes
- Removed base.py module and moved the two base classes GeoPoint and GeoVector3D into separate modules (geopoint.py and geovector3d.py).
- New module elevationprofile.py (containing class ElevationProfile which was previously in processing.py).
- Major improvements and clean up of topogaphy data access classes.
- Renamed and simplified factory class TopoAccess -> TopoDataAccess and moved into own module topodataaccess.py (previously in topodata.py).
- Renamed class TopoFile to TopoDataAccess and moved into new module topoaccessbase.py.
- Moved Etopo1Access and SRTMAccess classes from topodata.py to new module topoaccessbase.py.
- Moved all custom exceptions from topodata.py to new module exceptions.py.
Other updates
- Removed LatLon dependency (now only LatLon23 is required).
- Updated installation details and added conda environment file for python 3.X (geonum_env_py3.yml).
- Updated requirements.txt file.
- Included more unit tests.
- Set-up automatic tests for Python 2.7 and 3.5+ using Travis CI.
- Bug fixes.
- Updated website and code documentation.
Improved Python 3 compatitbility and minor bug fixes
Many thanks to @johannjacobsohn for review and sending the pull request with the updated and improved code!
Python 3 support
Geonum works both in Python 2 and 3 now (tested for 2.7 and 3.6). This release only includes some new features, for instance, a formula to compute the altitude as a function of pressure (and other relevant atmospheric parameters).
Further changes
- Import or requirements now more flexible
- Removed dependency to LonLat library (still supported though) to LonLat23
- Minor bug fixes
Improved flexibility for Topodata import and Elevation profiles
Just some minor I/O improvements and improved flexibility for the computation of elevation profiles.
Minor changes (relevant for Pyplis users)
The major difference between the previous and this release is that the automatic online access to SRTM data in GeoPoint
objects can be deactivated via the class attribute auto_topo_access
.
New module: atmosphere (stable)
v1.1.1 Cleaned up requirements in setup.py