ESMCI / cime

Common Infrastructure for Modeling the Earth
http://esmci.github.io/cime
Other
161 stars 207 forks source link

When using nuopc coupler set MAPNAME's to "unset" #3612

Closed ekluzek closed 1 year ago

ekluzek commented 4 years ago

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.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 5 days with no activity.