# Generate the source grid description file
cdo griddes grid_CMN-5x5.nc > grid_CMN-5x5.txt

# Generate the target grid description file
cdo griddes grid_NH-40KM.nc > grid_NH-40KM.txt

# Generate the map weights
cdo gencon,grid_NH-40KM.txt -setgrid,grid_CMN-5x5.txt grid_CMN-5x5.nc scrip_CMN-5x5_NH-40KM.nc
