open-AIMS / ADRIA.jl

ADRIA: Adaptive Dynamic Reef Intervention Algorithms. A multi-criteria decision support platform for informing reef restoration and adaptation interventions.
MIT License
18 stars 6 forks source link

Develop cyclone mortality models based on R implementation #529

Closed Zapiano closed 11 months ago

Zapiano commented 1 year ago

Following the approach on

https://aslopubs.onlinelibrary.wiley.com/doi/epdf/10.4319/lo.2008.53.2.0690

Part of #516

There are 5 Cyclone categories base on windspeed (according to BOM site and that the above paper is using):

Following there's a description of the approach I'm going to take to address this issue:

This is going to be partly addressed by this rrap-dg repository PR: https://github.com/open-AIMS/rrap-dg/pull/1

But it will also be necessary to change ADRIA external interface to read this data from the Data Package.

Zapiano commented 1 year ago

@ConnectedSystems Can you refresh my mind about our discussing earlier?

  1. I have the impression that we talked about a 4 dimensional datacube but thinking about it now it seems that we only need a matrix (as I described above)
  2. What should I do after running that script and having this .nc file?
ConnectedSystems commented 1 year ago

The 4D cube was mortality across:

I imagine 4 dimensions are necessary because the mortality for each species group would be different

Zapiano commented 1 year ago
  1. The mortality doesn't depend on the location, so, why this dimension?
  2. How am I supposed to simulated scenarios? And how many? I thought I would just provide the information of mortality per windspeed and let ADRIA simulate the scenarios.
ConnectedSystems commented 1 year ago
  1. Mortality doesn't - but cyclones don't happen at all locations at the same time...
  2. I thought the idea was to have a datacube of mortalities

For example, a cyclone scenario for 1 location, 1 species:

Mortality / timestep: [0.0, 0.0, 0.0, 0.233, 0.133, 0.0, 0.0, ... 0.125, 0.1, 0.0]

EDIT: I think I understand what your idea is. You just want to store the mortalities for each cyclone category? We then get cyclone data from somewhere else?

Whereas I thought we'd get the cyclone data, precompute the mortalities, then use those directly.

Zapiano commented 1 year ago

I have updated the description of this issue then. I didn't include the "location" dimension (yet) because the mortality doesn't depend on that. Do you know if the scenarios (sequence of windspeed values) depend on the locations?

Zapiano commented 1 year ago

I have updated the description of this issue then. I didn't include the "location" dimension (yet) because the mortality doesn't depend on that. Do you know if the scenarios (sequence of windspeed values) depend on the locations?

This is actually wrong. The cyclone scenarios depend on the location, that's why this dimension is needed.