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

need ability to track Marine Heat Wave as polygons #119

Open
3 of 7 tasks
gaelforget opened this issue Nov 5, 2024 · 5 comments
Open
3 of 7 tasks

need ability to track Marine Heat Wave as polygons #119

gaelforget opened this issue Nov 5, 2024 · 5 comments

Comments

@gaelforget
Copy link
Member

gaelforget commented Nov 5, 2024

We envision doing this via rasters.jl

First few steps could be :

  1. take SST anomaly (SSTa) map from the Sea Surface Temperature notebook (➭ code link).
  2. calculate polygon corresponding to x0<SSTa<x1 with GeometryOps.polygonize
  3. plot the resulting polygon over map using GemoMakie.jl
  4. create a Julia function to do the above
  5. return a data structure (named HeatWave?)
  6. create plot method (in extension)
  7. add to CI (test/runtests.jl)

To get started :

@gaelforget
Copy link
Member Author

See Detection From Map section of the notebook for the example using GeometryOps.polygonize

@gaelforget
Copy link
Member Author

gaelforget commented Dec 11, 2024

To learn about Julia basics , maybe this is a good place to start :

https://github.com/AIRCentre/JuliaEO24/tree/main/notebooks/Julia_Language_Context_and_Basic_Concepts

@gaelforget
Copy link
Member Author

One of the next step will involve calculating overlapping areas between one time step and the next.

Not unlike in SpeedyWeather/SpeedyWeather.jl#648

@gaelforget
Copy link
Member Author

gaelforget commented Jan 15, 2025

One of the next step will involve calculating overlapping areas between one time step and the next.

  • Have just added a set of initial tests under Testing Polygon Ops in the notebook
  • GO.difference is used to subtract one polygon from another, and calculate areas
  • but have not tested the case of partial overlap yet ...

See #126 and #127

@gaelforget
Copy link
Member Author

gaelforget commented Jan 15, 2025

ping @asinghvi17 , @rafaqz , @evetion (project I mentioned at JuliaEO25)

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

No branches or pull requests

1 participant