Skip to content

Commit

Permalink
update packages and actions (#37)
Browse files Browse the repository at this point in the history
* update artefacts action

* replace deprecated np.in1d
  • Loading branch information
observingClouds authored Sep 18, 2024
1 parent aeaf4d7 commit 168fdfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: |
python scripts/plot_radiosonde_data.py -i examples/level1/EUREC4A_BCO_Vaisala-RS_L1-ascent_20200126T2244_v3.0.0.nc -o artifacts
- name: Upload plots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: figures
path: |
Expand Down
2 changes: 1 addition & 1 deletion pysonde/readers/reader_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def check_availability(decomp_files, file, return_name=False):
basenames = [os.path.basename(decomp_file) for decomp_file in decomp_files]

# Availability
availability_mask = np.in1d(basenames, file)
availability_mask = np.isin(basenames, file)

if np.sum(availability_mask) > 0:
avail = True
Expand Down

0 comments on commit 168fdfd

Please sign in to comment.