When using the nuopc coupler (comp_interface="nuopc"), the MAPNAMES should be set to "unset" so they will be calculated on the fly rather than using existing map files calculated for the MCT coupler.
Looks like there is code in grids.py that attempts to do this, but isn't functioning, it'll only be triggered if the mapping file is set to "idmap".
if map_ == 'idmap':
if grid1_name == "ocn_grid" and grid1_value == atm_gridvalue:
logger.debug('ocn_grid == atm_grid so this is not an idmap error')
else:
if driver == "nuopc":
gridmaps[self.text(node)] = 'unset'
else:
The above would only set it to "unset" if it's set to idmap, not if it's set to the MCT mapping file, which is the normal case.
When using the nuopc coupler (comp_interface="nuopc"), the MAPNAMES should be set to "unset" so they will be calculated on the fly rather than using existing map files calculated for the MCT coupler.
Looks like there is code in grids.py that attempts to do this, but isn't functioning, it'll only be triggered if the mapping file is set to "idmap".
The above would only set it to "unset" if it's set to idmap, not if it's set to the MCT mapping file, which is the normal case.