I am trying to mask a NetCDF file with an shapefile. Here is my shapefile:
Africa_Shape = geopandas.read_file('/content/gdrive/MyDrive/HighresMIP/control_1950/iho/iho.shp', crs="epsg:4326")
And here is my NetCDF file (MSWEP_monthly) structure and the procedure that I am following to clip the original dataset
And my results are all the values nan.