Skip to content

Add Global Carbon Budget to climate catalog#113

Merged
aaronspring merged 6 commits into
mainfrom
add-gcb
Feb 23, 2026
Merged

Add Global Carbon Budget to climate catalog#113
aaronspring merged 6 commits into
mainfrom
add-gcb

Conversation

@aaronspring
Copy link
Copy Markdown
Owner

@aaronspring aaronspring commented Feb 23, 2026

Summary

  • Add custom excel_url driver for reading Excel files from URLs with simplecache support
  • Add GCB 2025 and GCB 2021 datasets from ICOS-CP data portal
  • Data is downloaded via simplecache for disk caching

Changes

  • remote_climate_data/excel_source.py - New custom intake driver
  • remote_climate_data/__init__.py - Import excel_source module to register the driver
  • catalogs/climate.yaml - Added GCB 2025 and GCB 2021 sources

Why a custom driver?

intake v2 has native Excel support via PandasExcel reader. However:

  1. The intake-excel package is broken for Python 3.12+ (uses deprecated SafeConfigParser)
  2. The native v2 YAML format with data references is complex and not compatible with existing YAML catalogs
  3. The custom driver provides a simpler solution that integrates well with the existing catalog structure

Using simplecache:: prefix enables disk caching of the downloaded Excel files.

@github-actions
Copy link
Copy Markdown

🚀 Launch on Binder

Binder

Note: First launch may take a few minutes while the image builds.

- Add custom excel_url driver for reading Excel files from URLs
- Uses simplecache for disk caching
- Add GCB 2025 and GCB 2021 from ICOS-CP data portal

Note: intake v2 has native Excel support via PandasExcel reader, but
the YAML format is complex and not compatible with existing catalogs.
The custom driver provides a simpler solution for YAML-based catalogs.
@aaronspring aaronspring merged commit ac30c96 into main Feb 23, 2026
3 checks passed
@aaronspring aaronspring deleted the add-gcb branch February 23, 2026 10:55
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