Clipping a raster (grib2), end up with zeros on left edge when cropping with mask


Shane Mill - NOAA Affiliate
 

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 else has experienced this before?
I think the issue is where the mask function is used with the cropping. 

In the picture below, the blue edge shows the zeros.
And for context, here is the driving code that is performing the action:



Join main@rasterio.groups.io to automatically receive all group messages.