-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Parse GRIB .idx
files
#11
Comments
Next steps:
|
Actually, I might build my own to start with. Because I'm not planning to use chunks to start with. Can I use BTreeSets? One set for each dimension. Each set contains a ref to the message struct. But each set uses a different function to sort the sets?? |
Actually, I might build my own to start with. Because I'm not planning to use chunks to start with. Can I use BTreeSets? One set for each dimension. Each set contains a ref to the message struct. But each set uses a different function to sort the sets?? Or maybe BTreeMaps, one for each dim? |
Some thoughts on storing the manifest in memory: Option 1: Multiple
|
I'm using DuckDB! Very impressed so far! Next step: Work through the TODOs in crate/hypergrib_manifest/src/lib.rs |
On reflection, I think I might go back to my original idea of manually writing functions to map from requested index ranges to GRIB messages. Which probably requires a tree of BTreeMaps, similar to a directory hierarchy. And some good error reporting for when the mapping fails |
Next tasks:
|
Rust's |
New plan: No |
I was planning to parse the parameter abbreviation strings (e.g. "TMP") into So, for the Further down the line, we should definitely give the user more information about each parameter. We could use the GRIB2 tables recorded as There is the issue that some For the MVP, I'll also not decode the vertical level or the ensemble member. In a future version we'll decode these. For the MVP we will decode the step. |
I'm gonna close this issue and start more focused issues |
Updated plan, as discussed in #11#issuecomment-2399417349
.idx
files for GEFS have this form:<message number>:<byte_offset>:d=<init date in YYYYMMDDHH>:<variable>:<vertical level>:<forecast step>:<ensemble member>
For example:
The text was updated successfully, but these errors were encountered: