-
Notifications
You must be signed in to change notification settings - Fork 15
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
Error in Wind correction function (broadcast shapes) #165
Comments
I find these dimensions (1004, 1043) a bit weird. Normally, all the maps are generated to cover the extent of the scope plus some pixels on the margins to have the same coverage as the low-resolution MERRA-2 data. So (1200, 1200) is more plausible to me. |
I use a shapefile of Jordan, selected a box of 28 34 40 40 for the merra data. Or what specific information do you need |
As of MERRA-2:
You obtain (with epsilon=0,01): So you cannot select any box containing Jordan. Otherwise you might have problems with the dimensions. |
Thanks again, I updated the weather data but there is still the land use raster that has another size (same as before). I think the problem is located at the landuse data I use. I have a landuse raster only for the area of the shapefile of jordan. This seems to cause the problem, I still need to map my landuse data to 1200x1200 pixel (of course the right ones). |
I used this code in
At least the bounds look good for the new landuse:
The Broadcast error is solved, if it delivers the correct resulting raster. I think if this is correct it could also be used for the code to be suitable with any landuse map that is not the world, but just a box bigger than the region of interest. Of course the pixels have to be general and not fixed at 1200. Let me know what you think Sorry for the trouble, I just worked with rasterio and raster starting now with pygreta. |
Hey again,
I get the following error:
the
m_high
is 1200, however my matrix of all the other data has a different shape. Do you have any idea how to debug?The text was updated successfully, but these errors were encountered: