Skip to content

Conversation

@DanTanAtAims
Copy link
Collaborator

@DanTanAtAims DanTanAtAims commented Apr 26, 2024

Change the name of data cubes in the YAXArray dataset to align with ADRIA names. Changes the names

  • cover -> total_cover
  • species -> total_taxa_cover

The variable names prior to this pull request already deviates from ReefMod's naming.

Comment on lines 61 to 62
# Relative Coral cover [% of total reef area]
relative_cover = DataCube(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hey Dan, are we sure this is % relative to total reef area?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In the RME data codes it appears that it is, though perhaps the comment should specify [% of reef area] as total might imply the entire study area. The variable name used to retrieve the data from the API is 'coral_pct'
image

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hmmm...

There are conflicting definitions of what "total" refers to. Let me ask.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've updated the names to be total_cover and total_taxa_cover.

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is fine with me, but noting it requires changes in ADRIA for the naming convention to be fully supported.

@ConnectedSystems ConnectedSystems merged commit 1a1dc81 into main Apr 26, 2024
@ConnectedSystems ConnectedSystems deleted the rename-cubes branch April 26, 2024 06:52
@ConnectedSystems ConnectedSystems mentioned this pull request Oct 9, 2024
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.

3 participants