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

Update to calendar year 2022 #82

Merged
merged 6 commits into from
Jan 13, 2023

Conversation

hcorson-dosch-usgs
Copy link
Collaborator

This PR updates the site to cover the full 2022 calendar year.

I've also made a few edits to the way files are stored and referenced:

  • Push copies of '3_visualize/out/gw-conditions-daily-proportions', '3_visualize/out/gw-conditions-site-coords', and '3_visualize/out/gw-conditions-time-labels' with the date range in the filename to the dev bucket on AWS in addition to a copy of '3_visualize/out/gw-conditions-peaks-timeseries', since all four (for now) are time-period specific.
  • Add 4 additional targets that must be run manually (aren't specified under depends) that upload copies of the same 4 files to the prod bucket on AWS with the filename suffix '-live'
  • Update the loadData() function in 'src/components/GWL.vue' to reference these -live files, so that the live site is only updated once those 4 targets are built

Note: I think there is room for improvement here, and that we should revisit this approach when we consider how to switch to a monthly version w/ the option to select the time period. Also see #80

Copy link
Member

@cnell-usgs cnell-usgs left a comment

Choose a reason for hiding this comment

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

This worked for me and ran the updated site locally. I agree, this is a good stepping stone to reconfigure the update process and have archived data that can be used to visit past time periods. We'll want to continue to think about how this can be done more efficiently.

@hcorson-dosch-usgs hcorson-dosch-usgs merged commit 3ec4555 into DOI-USGS:main Jan 13, 2023
@hcorson-dosch-usgs hcorson-dosch-usgs deleted the cy_2022 branch January 13, 2023 19:59
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.

2 participants