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

Compile and save haul-level data #142

Open
afredston opened this issue Mar 26, 2021 · 0 comments
Open

Compile and save haul-level data #142

afredston opened this issue Mar 26, 2021 · 0 comments

Comments

@afredston
Copy link

It would be convenient for many use cases to have access to some of the information that is in the raw trawl data processed in OceanAdapt, but not present in any of the cleaned and aggregated datasets. In my experience, the information I've wanted to access was haul-level information that gets dropped in compile.R:

  • Bottom temperature, surface temperature, and other environmental variables collected in the surveys
  • The exact date of the collection

I've written a script to do that based on compile.R--it could definitely be cleaned and tightened up in places, but it does collate all the haul-level data into one dataframe (there should be one row per unique haulid across all regions): https://gist.github.com/afredston/5f85968eeead75bf524ec1c43484aac7 I focused on btemp, stemp, and datetime as the variables to preserve and harmonize across datasets, but some of the source datasets also have other environmental variables like salinity and dissolved oxygen that could be useful to preserve in the output eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant