Comments (4)
I've seen something like this before. I think this was related to variables which occur only in a single message (e.g. a single non-time-varying horizontal field). 2899eac is probably what you need. It's included in the current main
, but unfortunately the latest PyPi release is one commit earlier 😬.
- @guidocioni can you try with the latest
main
version? - @lkluft do you think we could get some new release?
from gribscan.
I've seen something like this before. I think this was related to variables which occur only in a single message (e.g. a single non-time-varying horizontal field). 2899eac is probably what you need. It's included in the current
main
, but unfortunately the latest PyPi release is one commit earlier 😬.
- @guidocioni can you try with the latest
main
version?- @lkluft do you think we could get some new release?
Let me try again and I'll get back to you.
from gribscan.
Hey, so with the correction that you posted it seems to work, albeit the first step being slower.
For the second step I had to manually create a folder dataset.json
, because otherwise it was complaining
Traceback (most recent call last):
File "/home/ekman/miniconda3/envs/models/bin/gribscan-build", line 8, in <module>
sys.exit(build_dataset())
File "/home/ekman/miniconda3/envs/models/lib/python3.10/site-packages/gribscan/tools.py", line 32, in build_dataset
with open(f"{args.output}/{dataset}.json", "w") as indexfile:
FileNotFoundError: [Errno 2] No such file or directory: 'dataset.json/atm2d.json'
After creating the folder it wrote a json
file dataset.json/atm2d.json
.
I'm not sure if I'm doing things correctly because I imagine you would have already included a check to see if that folder is existing or not...so it smells like I'm using one of the parameters wrong.
Anyhoe...when I tried to load into xarray
ds = xr.open_zarr("reference::/home/ekman/ssd/guido/ecmwf-ens/dataset.json/atm2d.json", consolidated=False)
Then I get a dataset with collapsed dimensions.
Again, sorry if I'm doing something wrong: zarr
is kind of new to me.
from gribscan.
This looks exactly like what I would expect. I also normally create the folder dataset.json or json.dir myself (the one you give with -o
) before running the gribscan-build
command.
from gribscan.
Related Issues (13)
- Clean-up registration of GRIB coded
- new version in kerchunk
- multiple `stepRange` lead to wrong decoding time HOT 15
- Automate PyPI releases HOT 1
- Merge fixes for IFS output HOT 3
- Use `.peek` instead of `.read` and `.seek`
- Enable Github actions for CI/CD
- archive on Zenodo? HOT 8
- is a Magician essentially the same as MultiZarrToZarr ? HOT 3
- Test gribscan on latest FDB/eccodes grib output (including Healpix) HOT 1
- Add contribution guideline
- Write_index fails b/c of `grib_handle` issue if cfgrib version below `cfgrib-0.9.10.1` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gribscan.