Skip to content

Commit

Permalink
v4.5.3.1 Remove on screen warning from numpy for alpha tests (#1233)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobHanna-NOAA authored Jul 24, 2024
1 parent 89ba6fe commit b662494
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ All notable changes to this project will be documented in this file.
We follow the [Semantic Versioning 2.0.0](http://semver.org/) format.


## v4.5.3.1 - 2024-07-24 - [PR#1233](https://github.com/NOAA-OWP/inundation-mapping/pull/1233)

In a PR [1217](https://github.com/NOAA-OWP/inundation-mapping/pull/1217), which is about to be merged, it updates a bunch of python packages. One is numpy. This has triggered a very large amount of on-screen output from a new numpy warning while running `synthesize_test_cases.py`.

### Changes
- `tools\overlapping_inundation.py`: As described

<br/><br/>


## v4.5.3.0 - 2024-07-24 - [PR#1217](https://github.com/NOAA-OWP/inundation-mapping/pull/1217)

This PR rolls up a bunch of other PR's and python packages requests including:
Expand Down
2 changes: 1 addition & 1 deletion tools/overlapping_inundation.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def merge_data(
:param rst_dims: dimensions of overlapping rasters
"""

nan_tile = np.array([np.nan]).astype(dtype)[0]
nan_tile = np.array([np.nan])
window_data = np.tile(float(nan_tile), [int(final_window.height), int(final_window.width)])

for data, bnds, idx in zip(rst_data, window_bnds, datasets):
Expand Down

0 comments on commit b662494

Please sign in to comment.