Skip to content

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

Open
tropicrainforest wants to merge 2 commits into
mainfrom
fix-logs
Open

Fix: Make logs configurable, fix cfgrib index placement, and improve posix error handling#4
tropicrainforest wants to merge 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
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