Skip to content

Destine data #23

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Destine data #23

wants to merge 14 commits into from

Conversation

danielfdsilva
Copy link
Member

This PR includes the Destine data using a git submodule as discussed.
The submodule (https://github.com/developmentseed/gfts-destine-data) is private so when cloning the repo you'll need the proper permissions (@pantierra you have to take this into account with the docker file - if needed, submodule init instructions are on the README).
When the app builds, the destine files will be copied to a /destine folder (@pantierra anything with this path prefix needs to be under auth)

@yellowcap next steps for you:

  • convert tos to celsius and update the CSV files.
  • Note for the future: The parquet files quarters need to be 1-indexed (no q0) :p

The easiest way to update the data is through this repo.

  • Clone the repo and init the submodules.
  • Put the new files in static/destine
  • Go into cd static/destine and make a commit for the submodule and push
  • Go back to the to the repo root and make a commit to update the submodule.
# Put files in `static/destine`
cd static/destine
git add .
git commit -m "Update data"
git push
cd ../..
git add static/destine
git commit -m "Update data submodule"
git push

Adds a new chart component that displays a line graph with an average value, min, and max range.

The chart supports hover and selection interactions, providing visual cues for data points.
Adds a function to fetch and parse CSV and parquet
Allows disabling the legend bar, visually indicating that it's inactive.
Updates color legend to accept a color scale interpolator for more flexibility.

Improves toggle switch component by passing checked state to the onChange handler.
Adds charts for temperature and salinity data.
Updates the user profile to derive data from the ID token,
specifically extracting groups and username.
Improves data security by implementing access control based on user authentication.

Seasonal and arrow destination data for species are only accessible to users with the 'DPAD_Direct_Access' group.
Adds a git submodule to include a private data repository.
Documents how to initialize the submodule and how it is used
to protect the data even when it appears publicly available.
Enhances map display and data presentation for a better user experience.

- Updates the application description in the environment variables.
- Adjusts the default map zoom level for improved initial view.
- Implements automatic map fitting to the bounding box of displayed data, ensuring all data points are visible.
- Modifies padding for map fitting on individual pages for better visual appeal.
- Changes temperature unit display to Celsius.
- Implements a fly-to animation for species map data.
Adds destine data loading state to the map loading indicator.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant