Skip to content

Add script to survey ASF burst granules #59

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

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

Conversation

scottstanie
Copy link
Contributor

@scottstanie scottstanie commented Nov 13, 2024

Runnable with pipx:

pipx run asf_burst_survey.py burst_ids_north_america.csv

To create the list of North america burst ids:

import opera_utils

gdf_bursts = opera_utils.get_burst_id_geojson(True)
burst_ids_unique = (
    gdf_bursts[gdf_bursts.is_north_america == "1"]
    .burst_id_jpl.str.strip("t")
    .str.upper().unique()
)
pd.DataFrame(burst_ids_unique).to_csv("burst_ids_north_america.csv")

@scottstanie
Copy link
Contributor Author

holding off on merging this because i've been told that making fewer, much bigger queries using asf_search could be way more efficient than many small queries

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.

1 participant