Skip to content

Commit 7c11473

Browse files
author
Benjamin Winkel
committed
prepare release v1.1.0
1 parent 840d1ab commit 7c11473

4 files changed

Lines changed: 48 additions & 15 deletions

File tree

CHANGES.rst

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,37 @@
1-
1.0.5 (unreleased)
1+
1.1.0 (2021-07-07)
22
=======================
33

4+
New Features
5+
------------
6+
pycraf.pathprof
7+
^^^^^^^^^^^^^^^
8+
- Add a `cache` option to `pathprof.height_map_data`, which is based on the
9+
`joblib` Python package. With this, one can easily re-use existing height
10+
data (`hprof_cache`) from a previous run to save computing time. [#b86c7d]
11+
- Add a `generic_heights` option to the several functions and the `PathProp`
12+
class in the `pathprof` sub-package. With this, one case set terrain heights
13+
to zero more conveniently. [#a3e799]
14+
15+
Notes
16+
-----
17+
- As of Spring 2021, NASA decided to put all SRTM data products behind a
18+
log-in page, such that automatic download ceases to work. For the time
19+
being, the default server (and only server) in pycraf will thus be
20+
`viewpano`. If you prefer to use NASA tiles (over `viewpano`), please use
21+
their services, e.g., the Land Processes Distributed Active Archive Center.
22+
23+
Bugfixes
24+
~~~~~~~~~~
25+
- In some cases, but only when working with hgt tiles having a different
26+
angular resolution than 3", terrain height interpolation was still based
27+
on the 3" instead of the proper resolution. [#89e0b0]
28+
- There was a bug in the `geometry` sub-package, which caused all rotation
29+
matrices be transposed (which is the same a applying a negative rotation
30+
angle). We used the opportunity to also fix the sign of the `etilt` angle
31+
in the `imt2020_composite_pattern`. [#47e772,#9fb8d6]
32+
33+
34+
435
1.0.4 (2020-10-21)
536
=======================
637

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pycraf
33
******
44

5-
- *Version:* 1.0.4
5+
- *Version:* 1.1.0
66
- *Author:* Benjamin Winkel, Marta Bautista & Federico Di Vruno
77
- *User manual:* `stable <https://bwinkel.github.io/pycraf/>`__ |
88
`developer <https://bwinkel.github.io/pycraf/latest/>`__

azure-pipelines.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
arch: x86_64
3232
plat: manylinux2010_x86_64
3333
image: quay.io/pypa/manylinux2010_x86_64
34+
# plat: manylinux2014_x86_64
35+
# image: quay.io/pypa/manylinux2014_x86_64
3436
# for very old systems, the following would also be an alternative:
3537
# plat: manylinux1_x86_64
3638
# image: skhep/manylinuxgcc-x86_64
@@ -70,16 +72,6 @@ jobs:
7072
astropy.version: '3'
7173
# docs should only be published by one thread, as they are version-
7274
# independent; and only if on the master branch
73-
publish.docs: ${{ or(eq(variables['is.master'], true), eq(variables['is.tag'], true)) }}
74-
# publish.docs: ${{ true }}
75-
${{ if eq(variables['is.tag'], true) }}:
76-
docs.target: '.'
77-
${{ if eq(variables['is.tag'], false) }}:
78-
docs.target: 'latest'
79-
# tarball should only be published by one thread, as it is version-
80-
# independent
81-
build.tarball: ${{ true }}
82-
publish.tarball: ${{ eq(variables['is.tag'], true) }}
8375
linux38:
8476
imageName: 'ubuntu-latest'
8577
python.version: '3.8'
@@ -90,10 +82,20 @@ jobs:
9082
pyproj.version: '>=2.2'
9183
# qt.version: '>=5.11'
9284
# pytestqt.version: '>=4'
85+
publish.docs: ${{ or(eq(variables['is.master'], true), eq(variables['is.tag'], true)) }}
86+
# publish.docs: ${{ true }}
87+
${{ if eq(variables['is.tag'], true) }}:
88+
docs.target: '.'
89+
${{ if eq(variables['is.tag'], false) }}:
90+
docs.target: 'latest'
91+
# tarball should only be published by one thread, as it is version-
92+
# independent
93+
build.tarball: ${{ true }}
94+
publish.tarball: ${{ eq(variables['is.tag'], true) }}
9395
linux39:
9496
imageName: 'ubuntu-latest'
9597
python.version: '3.9'
96-
py_whl: 38
98+
py_whl: 39
9799
numpy.version: '1.20.0'
98100
astropy.version: '4'
99101
pyproj.version: '>=2.2'

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ github_project = bwinkel/pycraf
5656
# install_requires = astropy, scipy, matplotlib
5757
install_requires = astropy, scipy, matplotlib
5858
# version should be PEP440 compatible (https://www.python.org/dev/peps/pep-0440/)
59-
version = 1.0.5dev
60-
minimum_python_version = 3.5
59+
version = 1.1.0
60+
minimum_python_version = 3.6
6161

6262
[entry_points]
6363

0 commit comments

Comments
 (0)