Skip to content

Conversation

@Tjalling-dejong
Copy link
Contributor

@Tjalling-dejong Tjalling-dejong commented Nov 26, 2025

Issue addressed

Encountered a bug with exporting artifact data with the datacatalog.export_data method.
If no data is found within the given bounding box the export_data method will break instead of handle the no data.

I also saw that some logging and error messaging in the drivers was not properly working. I improved that as well.

Explanation

Explain how you addressed the bug/feature request, what choices you made and why.

General Checklist

  • Updated tests or added new tests
  • Branch is up to date with main
  • Tests & pre-commit hooks pass
  • Updated documentation
  • Updated changelog.rst

Data/Catalog checklist

  • data/catalogs/predefined_catalogs.yml has not been modified.
  • None of the old data_catalog.yml files have been changed
  • data/changelog.rst has been updated
  • new file uses LF line endings (done automatically if you used update_versions.py)
  • New file has been tested locally
  • Tests have been added using the new file in the test suite

Additional Notes (optional)

Add any additional notes or information that may be helpful.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 2, 2025

@Tjalling-dejong Tjalling-dejong marked this pull request as ready for review December 2, 2025 13:33
@Tjalling-dejong Tjalling-dejong self-assigned this Dec 2, 2025
Comment on lines +137 to +140
exec_nodata_strat(
handle_nodata,
f"Reading file(s) for {self.name} returned no data.",
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you check the log? Feels like we might be warning twice? Already in read_data just above and now here again?

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.

3 participants