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

biomass calculation #9

Open
brunj7 opened this issue Mar 13, 2023 · 0 comments
Open

biomass calculation #9

brunj7 opened this issue Mar 13, 2023 · 0 comments
Assignees

Comments

@brunj7
Copy link
Collaborator

brunj7 commented Mar 13, 2023

Goal: Compute biomass estimates from fish length

Data conversion

We have several main cases:

  • We have the total length (TL):
    • We have the right unit for a and b: g and cm => done
    • We have the wrong units for a and b => need to transform using formulas
  • We have another type of length:
    • We need to first transform the length into the total one using the formula in column "LL_Equation_for_WL"

Main formula: W = a * L^b

Unit transformation (source: Fishbase)

a'(cm, g) = a (mm, g)*10^b
a'(cm, g) = a (cm, kg)*1000
a'(cm, g) = a (mm, mg)*10^b/1000
a'(cm, g) = a (mm, kg)10^b1000

Relationship reference: https://www.fishbase.de/manual/fishbasethe_length_weight_table.htm

code: https://github.com/NCEAS/ca-mpa/blob/main/analyses/1performance_eco/code/biomass_reference_file_prep.R

@brunj7 brunj7 self-assigned this Mar 13, 2023
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