Custom Code Table
See original GitHub issueHello,
Is it possible to load a custom code table for use when opening a Grib dataset with Xarray? I can’t seem to find an example of how that would be done. I’d imagine something like this:
ds = xr.open_dataset(
"/path/to/grb",
engine="cfgrib",
backend_kwargs={"code_table": "/path/to/codetab"}
)
Thanks! Paul
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Create a custom table using code - Dataverse - Microsoft Learn
This topic shows how to programmatically create a custom user-owned table (entity) called Bank Account and add four different types of columns ( ......
Read more >SAP Custom Code Tables: Your One-Stop Reference List
# TABLE Functional Area Table Type
1 MARA Logistics ‑ Material Master Transparent Table
2 VBAK SD ‑ Sales Transparent Table
3 VBAP SD ‑ Sales...
Read more >HTML Tables: When to Use Them and How to Make & Edit Them
Learn how to make and edit a table in HTML so you can present data that's too detailed or complicated for text on...
Read more >HTML Tables - W3Schools
HTML tables allow web developers to arrange data into rows and columns. ... A table in HTML consists of table cells inside rows...
Read more >Transaction code for custom table - SAP Community
I have to create transaction code for this table so that user can directly open this custom table in SM30. Can anybody suggest...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aaronspring, in general I agree: how we actually do it isn’t so important. It would IMO be nice to be able to provide the community with some sort of easy-to-use solution (and more importantly, easy-to-discover!); but I believe the topic we have specifically in mind (e.g. GRB, CDO, and related code tables) is out of scope here. To work on the xarray extension idea, I started https://github.com/pydata/xarray/discussions/6622. Also, if there any “let’s make climate model output more friendly” meetings you are involved in, please let me know! pgierz@awi.de
So, if no one minds, I will close this issue. There is enough posted info I believe for other people who might stumble across this to get started.
Whether using a function or wrapping it with the internals, I don’t mind. The function needs an xr.Dataset and the path to the codes file as input IMO.
Recently had chat with @moritz-g about this topic and we decided it’s not a priority for us, but would contribute.