Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken code on unstable Sandbox image #1274

Merged
merged 5 commits into from
Oct 9, 2024
Merged

Fix broken code on unstable Sandbox image #1274

merged 5 commits into from
Oct 9, 2024

Conversation

robbibt
Copy link
Member

@robbibt robbibt commented Oct 9, 2024

Proposed changes

This PR fixes some issues that were failing on the latest unstable Sandbox image: https://github.com/GeoscienceAustralia/dea-sandbox/actions/runs/11248329303/job/31273283683

  • Our tide modelling code has been updated with a temporary workaround to run on pyTMD==2.1.6; this will be improved soon
  • A recent change to xarray's GroupBy functionality broke subpixel_contours and xr_pansharpen - xarray apparently no longer applies .squeeze() by default when iterating along a dimension

Closes issues (optional)

@robbibt robbibt changed the title Fix unstable Fix broken code on unstable Sandbox image Oct 9, 2024
@robbibt robbibt marked this pull request as ready for review October 9, 2024 05:55
@robbibt robbibt marked this pull request as draft October 9, 2024 05:56
Copy link
Collaborator

@erialC-P erialC-P left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me :)

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@robbibt robbibt marked this pull request as ready for review October 9, 2024 07:55
@robbibt robbibt merged commit fe36b0e into develop Oct 9, 2024
1 check passed
@robbibt robbibt deleted the fix_unstable branch October 9, 2024 07:55
robbibt added a commit that referenced this pull request Oct 9, 2024
* Fix deprecation warnings and speed up code

* Change last modified date

* Intertidal exposure (#1261)

* New files for intertidal exposure notebook

* minor editing to Load packages cells

* Updated discord and removed slack links

* Improved markdown linking to image and gif in Introduction

* Incorporated SS and MA reviews

* Updated to include RBT reviews

* Minor pip install and notebook naming edits. Add notebook to README

* adding renamed exposure notebook back into PR

* adding global SAR access through microsoft planetary compute (#1263)

* adding global SAR access through microsoft planetary compute

* Make minor spelling and formatting amendments.

* small changes for PR

---------

Co-authored-by: geoscience-aman <96451725+geoscience-aman@users.noreply.github.com>

* Update USAGE.rst (#1268)

Add Swinburne course for 2024

* Minor compatibility change for tide modelling package (#1269)

* Mitch predict_xr (#1270)

* add probability array output to predict_xr

* predict_xr at proba_max args

* predict_xr match arg names

* xr_predict deal with multiband prob outout

* xr_predict merge output probs

* clean up comments and spacing

* Update USAGE.rst (#1272)

Add new reference, Burton et al 2024 Enhancing long-term vegetation monitoring in Australia: a new approach for harmonising the Advanced Very High Resolution Radiometer normalised-difference vegetation (NVDI) with MODIS NDVI

* Fix broken code on `unstable` Sandbox image (#1274)

* Updates for pyTMD

* Fix contours bug due to groupby squeeze

* Try loosening pyTMD requirements

* Update tests to pass on both stable and unstable sandbox

* Fix pansharpening bug

---------

Co-authored-by: Aman Chopra <aman.chopra@ga.gov.au>
Co-authored-by: geoscience-aman <96451725+geoscience-aman@users.noreply.github.com>
Co-authored-by: ClaireP <claire.phillips@ga.gov.au>
Co-authored-by: Alex Bradley <55119000+abradley60@users.noreply.github.com>
Co-authored-by: Bex Dunn <BexDunn@users.noreply.github.com>
Co-authored-by: Mitchell Lyons <mitchell.lyons@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants