Skip to content

Commit

Permalink
Data test change
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryPetrochenkov-NOAA committed Sep 18, 2024
1 parent cb8d232 commit 8a96dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/data_generation/data_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def generate_aligned_and_agreement_maps(

agreement_map_computed.rio.write_crs(cam.rio.crs, inplace=True)

agreement_map_computed.rio.set_nodata(-9999)
agreement_map_computed.rio.write_nodata(-9999, inplace=True)
if np.nan in agreement_map_computed:
agreement_map_computed = xr.where(
np.isnan(agreement_map_computed), -9999, agreement_map_computed
Expand Down

0 comments on commit 8a96dad

Please sign in to comment.