Skip to content

NOAA_GlobalForecastSystem_reorg_gcs_output_monthly#2017

Closed
balit-raibot wants to merge 3 commits into
datacommonsorg:masterfrom
balit-raibot:NOAA_GlobalForecastSystem_reorg_gcs_output_monthly
Closed

NOAA_GlobalForecastSystem_reorg_gcs_output_monthly#2017
balit-raibot wants to merge 3 commits into
datacommonsorg:masterfrom
balit-raibot:NOAA_GlobalForecastSystem_reorg_gcs_output_monthly

Conversation

@balit-raibot
Copy link
Copy Markdown
Contributor

@balit-raibot balit-raibot commented May 18, 2026

This PR is to reorganize the output path of NOAA processed files in GCS.

Earlier Path: gs://datcom-prod-imports/scripts/noaa_gfs/NOAA_GlobalForecastSystem/output/
Changed Path: gs://datcom-prod-imports/scripts/noaa_gfs/NOAA_GlobalForecastSystem/output/{YYYY}/{MM}/

The concern was raised by @hareesh-ms that the files will grow with time and thus should be organized month wise. Refer comment section in the document: https://docs.google.com/document/d/1jrazxQfcpB3u0YTzC8wBTG9a3KgB49KIpioCDb9OfVs/edit?resourcekey=0-kltavlIE_RN_BGurfvVrBQ&tab=t.0

Bug: https://buganizer.corp.google.com/issues/513413769

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request modifies the GCS output path in grib_statvar_processor.py to include year and month subdirectories. A review comment points out that this change must be reflected in the manifest.json glob patterns to ensure the ingestion pipeline continues to function correctly.

Comment thread scripts/noaa_gfs/grib_statvar_processor.py Outdated
@balit-raibot
Copy link
Copy Markdown
Contributor Author

@gemini-code-assist review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the GCS output path in grib_statvar_processor.py to organize files into year and month subdirectories based on the date string. The manifest.json file is updated accordingly to ensure the glob pattern matches the new directory structure. I have no feedback to provide as there were no review comments.

@balit-raibot balit-raibot requested a review from ajaits May 19, 2026 07:45
@saanikaaa
Copy link
Copy Markdown
Contributor

Pls add import name in PR title

@balit-raibot balit-raibot changed the title reorg GCS output files monthly NOAA_GlobalForecastSystem_reorg_gcs_output_monthly May 19, 2026
@balit-raibot balit-raibot requested a review from saanikaaa May 19, 2026 09:52
@balit-raibot balit-raibot marked this pull request as draft May 19, 2026 09:52
@balit-raibot balit-raibot deleted the NOAA_GlobalForecastSystem_reorg_gcs_output_monthly branch May 19, 2026 09:53
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