Skip to content

Destine data#23

Merged
yellowcap merged 14 commits intomainfrom
feature/destine
Jun 16, 2025
Merged

Destine data#23
yellowcap merged 14 commits intomainfrom
feature/destine

Conversation

@danielfdsilva
Copy link
Member

@danielfdsilva danielfdsilva commented Jun 5, 2025

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.
@yellowcap yellowcap merged commit 16c9582 into main Jun 16, 2025
3 checks passed
@yellowcap
Copy link
Member

Also referencing the update on the private data repo https://github.com/developmentseed/gfts-destine-data/pull/1

@danielfdsilva danielfdsilva deleted the feature/destine branch July 7, 2025 11:16
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