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

feat: create notebook that publishes collection and item ingest for most collections #111

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

botanical
Copy link
Member

Changes

This notebook is based off of the reconciliation notebook but has been updated to:

  • not merge summaries and retain external links
  • point to MCP test and production
  • exclude
hls-l30-002-ej-reprocessed
hls-s30-002-ej-reprocessed
ls8-covid-19-example-data
landsat-c2l2-sr-antarctic-glaciers-pine-island
landsat-c2l2-sr-lakes-aral-sea
landsat-c2l2-sr-lakes-tonle-sap
landsat-c2l2-sr-lakes-lake-balaton
landsat-c2l2-sr-lakes-vanern
landsat-c2l2-sr-antarctic-glaciers-thwaites
landsat-c2l2-sr-lakes-lake-biwa
combined_CMIP6_daily_GISS-E2-1-G_tas_kerchunk_DEMO

@botanical botanical marked this pull request as ready for review March 26, 2024 21:16
@botanical botanical requested a review from smohiudd as a code owner March 26, 2024 21:16
@smohiudd
Copy link
Contributor

Just confirming that these endpoints are from MCP test and prod?

if testing_mode:
    STAC_INGESTOR_API = "https://soltgnljhh.execute-api.us-west-2.amazonaws.com/"
    VEDA_STAC_API = "https://e9xlhyjfhk.execute-api.us-west-2.amazonaws.com/"
else:
    STAC_INGESTOR_API = "https://gh9ge13dej.execute-api.us-west-2.amazonaws.com/"
    VEDA_STAC_API = "https://6ouvl5o466.execute-api.us-west-2.amazonaws.com/"

@smohiudd
Copy link
Contributor

In the last cell why is are you getting the collection?

        response = requests.get(url, headers=headers)
        response.raise_for_status()
        json_response = response.json()

@botanical
Copy link
Member Author

In the last cell why is are you getting the collection?

        response = requests.get(url, headers=headers)
        response.raise_for_status()
        json_response = response.json()

Ooh nice catch @smohiudd ! That was remnant code from the other notebook. Let me remove that bit.

@botanical
Copy link
Member Author

Just confirming that these endpoints are from MCP test and prod?

if testing_mode:
    STAC_INGESTOR_API = "https://soltgnljhh.execute-api.us-west-2.amazonaws.com/"
    VEDA_STAC_API = "https://e9xlhyjfhk.execute-api.us-west-2.amazonaws.com/"
else:
    STAC_INGESTOR_API = "https://gh9ge13dej.execute-api.us-west-2.amazonaws.com/"
    VEDA_STAC_API = "https://6ouvl5o466.execute-api.us-west-2.amazonaws.com/"

These are the test and prod endpoints but I can also use their domains if you prefer @smohiudd

@smohiudd
Copy link
Contributor

Domains are just easier to distinguish but not a big deal.

@botanical botanical merged commit 2e1c7bd into main Mar 27, 2024
2 checks passed
@botanical botanical deleted the jt/collection-and-item-ingest-for-prod branch March 27, 2024 16:05
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