open-AIMS / ADRIA_matlab

Repository for the development of ADRIA: Adaptive Dynamic Reef Intervention Algorithms. ADRIA is a multi-criteria decision support tool set particularly useful for informing reef restoration and adaptation interventions.
1 stars 0 forks source link

Separate DHW data loading #94

Closed ConnectedSystems closed 2 years ago

ConnectedSystems commented 2 years ago

ADRIA was hardcoded to load DHW data for Moore during last sprint - this PR introduces a loadDHWData() method for the ADRIA Interface.

Data is still expected to be in the dimensions of (timestep, site, nrep)

An additional expectation is that the loaded data be a struct with a dhw field.

ConnectedSystems commented 2 years ago

I'm going to assume the changes here are okay. More comprehensive checks to be done when wave data ingestion is brought back in as well.

Rosejoycrocker commented 2 years ago

Hi @ConnectedSystems, this can come later but in the PR I made for the ReefMod runs, I added a line in ai.siteSelection which loads data for wave damage probability in a similar way to how dhw data is currently loaded. So might be good to eventually have a separate function for wave data too.

Rosejoycrocker commented 2 years ago

Sorry just saw your most recent comment