Skip to content

Fix: Make logs configurable, fix cfgrib index placement, and improve posix error handling#4

Merged
tropicrainforest merged 2 commits into
mainfrom
fix-logs
May 13, 2026
Merged

Fix: Make logs configurable, fix cfgrib index placement, and improve posix error handling#4
tropicrainforest merged 2 commits into
mainfrom
fix-logs

Conversation

@tropicrainforest
Copy link
Copy Markdown
Contributor

In this PR we make logs configurable via the XARRAY_PRISM_LOG_LEVEL environment variable, remove the terminal line-clearing behavior after detection messages, redirect cfgrib index files to the prism cache directory to avoid writing into the user's original data directories, and raise a clear FileNotFoundError for missing local files instead of the misleading "cannot detect format" error.

…ronment variable, 2. dismantle auto deleting the logs after writing 3. write the grib idx file in cache where other cache are located to avoid japardizing the original files of user 4. check if the file exist or not before trying yo detect the format
@tropicrainforest
Copy link
Copy Markdown
Contributor Author

@antarcticrainforest I think we are ready to go to main here, yes? the issue with cfgrib index file and also the logs issue are resolved

@tropicrainforest tropicrainforest merged commit 604e26f into main May 13, 2026
12 checks passed
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