-
Notifications
You must be signed in to change notification settings - Fork 128
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
Cmorizer for the Eppley-VGPM-MODIS dataset is broken #2322
Comments
|
also, I forgot to say, hdf4 is an ancient file format - maybe we can contact the data producers ask them to convert it to hdf5 or netCDF4? |
This was changed in #1997 and back then it worked according to the authors of that pull request. Could you have another look at this please @tomaslovato? |
Actually it is not working since
I'm not happy as well with this format but I feel like the originator will not be keen to modify the format of all the datasets they are producing. Btw, I'm looking for a possible workaround to load hdf4 data (if there is one) but it will take a while. |
I see no mention of rasterio dropping support for hdf4 in the link provided by @valeriupredoi. Do you have a source for this information? |
In the link posted by @valeriupredoi there is a reference to the issue of Sorry @bouweandela I definitely misused |
and I'm getting invoked more often than Jesus H. Christ on an Easter Sunday 😆 Yes, @tomaslovato is correct, we need to install |
Can you try installing it from conda? I suspect that will solve the problem |
hmmm could be, @remi-kazeroni or @tomaslovato you mind plugging it in |
(holy) @valeriupredoi and @bouweandela I made a try with by creating a new environment from scratch installing |
First, (most of this from the rasterio docs) rasterio is a Python C Extension and has one C library dependency, GDAL. They provide binary wheels on PyPI, which are preferred by newer versions of pip. Quote:
The command-line switch to pip tells it not to use the binary wheels, which makes pip install from source, compiling everything relying on the active compilers and GDAL devel packages. Second, why isn't it getting pulled in by xarray from conda-forge? That's because it is one of very many optional dependencies and xarray doesn't depend on any of them in their conda-forge recipe. Bottom-line: we need to treat rasterio as a binary dependency and as such install it from conda. Which we do in our conda-forge package by depending on it explicitly. For the development environment, it should be added to |
excellent overview, cheers @zklaus 🍺 I think I'm partly responsible for this when I first added |
I'm closing this since the environment problem with |
Describe the bug
While rerunning some cmorizers for #1657, I realized that the Eppley-VGPM-MODIS cmorizer is not working anymore. The file format is no longer supported:
@tomaslovato, @valeriupredoi: would you have any idea why that is the case?
Please attach
cmorize_obs -c config-user.yml -o Eppley-VGPM-MODIS
main_log_debug.txt
file, this can also be found in therun
directory in the output directory:main_log_debug.txt
The text was updated successfully, but these errors were encountered: