|
Issues Setting tags for GRIB messsages when outputting to GRIB
That was the issue. For anyone who outputs data to GRIB. Make sure you set the: GRIB_PDS_TEMPLATE_NUMBERS GRIB_IDS GRIB_DISCIPLINE
That was the issue. For anyone who outputs data to GRIB. Make sure you set the: GRIB_PDS_TEMPLATE_NUMBERS GRIB_IDS GRIB_DISCIPLINE
|
By
Shane Mill - NOAA Affiliate
· #612
·
|
|
Issues Setting tags for GRIB messsages when outputting to GRIB
Noticing that I may need to set the GRIB_DISCIPLINE. If I am able to do that through rasterio, I will be good to go. I will update this message momentarily
Noticing that I may need to set the GRIB_DISCIPLINE. If I am able to do that through rasterio, I will be good to go. I will update this message momentarily
|
By
Shane Mill - NOAA Affiliate
· #611
·
|
|
Issues Setting tags for GRIB messsages when outputting to GRIB
Hello, When writing data to GRIB files, I've noticed sometimes an inconsistency with setting the GRIB_PDS_TEMPLATE_NUMBERS. This parameter drives the parameter name for the GRIB message. Below is a sn
Hello, When writing data to GRIB files, I've noticed sometimes an inconsistency with setting the GRIB_PDS_TEMPLATE_NUMBERS. This parameter drives the parameter name for the GRIB message. Below is a sn
|
By
Shane Mill - NOAA Affiliate
· #610
·
|
|
Clipping a raster (grib2), end up with zeros on left edge when cropping with mask
Hey Sean, As always, thanks for the feedback. So to follow up, it turns out that I had to add "filled=False". In my particular situation, the user drags a bounding box over the original raster and is
Hey Sean, As always, thanks for the feedback. So to follow up, it turns out that I had to add "filled=False". In my particular situation, the user drags a bounding box over the original raster and is
|
By
Shane Mill - NOAA Affiliate
· #232
·
|
|
Clipping a raster (grib2), end up with zeros on left edge when cropping with mask
Hi everyone, I am currently clipping a grib2 file, and am ending up with zeros on the left edge of the raster. I'm not an expert with GIS so maybe this is a common problem but was curious if anyone el
Hi everyone, I am currently clipping a grib2 file, and am ending up with zeros on the left edge of the raster. I'm not an expert with GIS so maybe this is a common problem but was curious if anyone el
|
By
Shane Mill - NOAA Affiliate
· #224
·
|
|
How to extract DATA_ENCODING creation option type from an input grib2 file for use in the output grib2 file
In case anyone ends up needing to do this, I ended up using eccodes and you can retrieve and set 'packingType' which is the same as DATA_ENCODING with codes_get and codes_set Thanks, -Shane
In case anyone ends up needing to do this, I ended up using eccodes and you can retrieve and set 'packingType' which is the same as DATA_ENCODING with codes_get and codes_set Thanks, -Shane
|
By
Shane Mill - NOAA Affiliate
· #187
·
|
|
How to extract DATA_ENCODING creation option type from an input grib2 file for use in the output grib2 file
Hey Sean, Thanks for the response, I can definitely see why that would be problematic, especially for converting between formats. That makes perfect sense to me. It's unfortunate that it isn't origina
Hey Sean, Thanks for the response, I can definitely see why that would be problematic, especially for converting between formats. That makes perfect sense to me. It's unfortunate that it isn't origina
|
By
Shane Mill - NOAA Affiliate
· #184
·
|
|
How to extract DATA_ENCODING creation option type from an input grib2 file for use in the output grib2 file
Hey everyone, I know that grib2 isn't commonly used by this community so I apologize that I keep bringing it up... You can probably tell that I am super fond of it! Anyways, all kidding aside, I am ve
Hey everyone, I know that grib2 isn't commonly used by this community so I apologize that I keep bringing it up... You can probably tell that I am super fond of it! Anyways, all kidding aside, I am ve
|
By
Shane Mill - NOAA Affiliate
· #182
·
|
|
Output to grib2?
Ah I see, I was confused then just because these come up when you "rio insp" and then "src.tags(1)", these creation options show up under the tags for band1. That's very helpful so thanks for the resp
Ah I see, I was confused then just because these come up when you "rio insp" and then "src.tags(1)", these creation options show up under the tags for band1. That's very helpful so thanks for the resp
|
By
Shane Mill - NOAA Affiliate
· #165
·
|
|
Output to grib2?
Okay so I think that I can update the GRIB specific options using rio warp ie: rio warp 1000_500_thick.grb 1000_500_thick_new2.grb --format GRIB --profile BAND_1_PDS_PDTN= with BAND_1_PDS_PDTN being a
Okay so I think that I can update the GRIB specific options using rio warp ie: rio warp 1000_500_thick.grb 1000_500_thick_new2.grb --format GRIB --profile BAND_1_PDS_PDTN= with BAND_1_PDS_PDTN being a
|
By
Shane Mill - NOAA Affiliate
· #162
·
|
|
Output to grib2?
Hey Sean, I know that you were saying that you don't use grib2 often, but I wanted to follow up with the previous question. I am able to output the numpy array to GRIB. Say that you have one band, you
Hey Sean, I know that you were saying that you don't use grib2 often, but I wanted to follow up with the previous question. I am able to output the numpy array to GRIB. Say that you have one band, you
|
By
Shane Mill - NOAA Affiliate
· #159
·
|
|
Output to grib2?
Sean, thanks for the quick response! You are correct, that does work. I think my issue may have been that I was using gdalinfo to check the resulting grib2 file, and my gdal version was older. When I
Sean, thanks for the quick response! You are correct, that does work. I think my issue may have been that I was using gdalinfo to check the resulting grib2 file, and my gdal version was older. When I
|
By
Shane Mill - NOAA Affiliate
· #156
·
|
|
Output to grib2?
Is there anyway to output to grib2 after performing map algebra? For example, If you are performing a calculation between two grib2 bands, which rasterio does quite well, are you able to transform the
Is there anyway to output to grib2 after performing map algebra? For example, If you are performing a calculation between two grib2 bands, which rasterio does quite well, are you able to transform the
|
By
Shane Mill - NOAA Affiliate
· #154
·
|