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

Catch - Whole Region Data #5

Open
2 tasks done
RGamble1 opened this issue Jun 18, 2019 · 5 comments
Open
2 tasks done

Catch - Whole Region Data #5

RGamble1 opened this issue Jun 18, 2019 · 5 comments
Assignees

Comments

@RGamble1
Copy link
Collaborator

RGamble1 commented Jun 18, 2019

  • Create global biomass removal catch time series file from Sean L’s data
    • Write R script to take Sean L's data file and convert to correct units for species and groups in atneus
@RGamble1 RGamble1 self-assigned this Jun 18, 2019
@RGamble1
Copy link
Collaborator Author

RGamble1 commented Oct 8, 2019

@sgaichas
Copy link
Contributor

sgaichas commented Oct 9, 2019

See if this is a start, this is by species rather than Atlantis group code but should be able to change that in the group_by statement (modified from DiagnosticsDoc.Rmd)

# NOTE: THIS FILE NOT TO BE POSTED ON GITHUB DUE TO POTENTIAL CONFIDENTIALITY CONCERNS
# ask Sean for it

load(here("diagnostics", "comland_meatwt_deflated_stat_areas.RData"))

# from https://github.com/NOAA-EDAB/Atlantis-Catch-Files/blob/master/Atlantis_1_5_groups_svspp_nespp3.csv

spcodes <- readr::read_csv("Atlantis_1_5_groups_svspp_nespp3.csv")

# time series in case we want to plot them

comlandts <- merge(comland, spcodes) %>%
  group_by(YEAR, Name) %>%
  summarise(SPPLIVMT, sum) 

@RGamble1
Copy link
Collaborator Author

RGamble1 commented Oct 23, 2019

Catch data has been created. Next step is to truncate it to the appropriate time period for hindcast and create the time series file to be used in Atlantis.

  • Create time series file

(Removed truncation of time series checkbox per discussion below)

@sgaichas
Copy link
Contributor

Clarification: My understanding of the 1981-2010 time period is that it was just for comparing Atlantis outputs to other sources. This doesn't necessarily mean Atlantis needs to hindcast only for these years. I don't recall what decision we made for input time series into Atlantis. Do we want to truncate the catch data that drives the Atlantis model as an input or do we want all catch prior to 1981 back to when we want the model to start? Similarly, do we want to force the model with catch past 2010, or stop there so we have a few years of data set aside to compare model forecasts with?

Catch data has been created. Next step is to truncate it to the appropriate time period for hindcast and create the time series file to be used in Atlantis.

* [x]  Truncate catch data to 1981 - 2010

* [ ]  Create time series file

@RGamble1
Copy link
Collaborator Author

TS file for entire region removal of each group using the comland file + R script put here:

TS file: https://github.com/NOAA-EDAB/Atlantis-Catch-Files/blob/master/catch_10_31_19_RG.ts
R script: https://github.com/NOAA-EDAB/Atlantis-Catch-Files/blob/master/catch_file_creator.R

  • Test catch time series in master branch Atlantis

  • Clean up the Atlantis-Catch-Files github and merge into main Atlantis github repository

@RGamble1 RGamble1 changed the title Catch - Data Catch - Regional Data Oct 31, 2019
@RGamble1 RGamble1 changed the title Catch - Regional Data Catch - Whole Region Data Oct 31, 2019
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

3 participants