-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dev_volcello_extract_shape
- Loading branch information
Showing
32 changed files
with
927 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
esmvalcore/cmor/_fixes/cordex/cnrm_cerfacs_cnrm_cm5/wrf381p.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
"""Fixes for rcm WRF381P driven by CNRM-CERFACS-CNRM-CM5.""" | ||
from esmvalcore.cmor._fixes.shared import add_scalar_height_coord | ||
from esmvalcore.cmor.fix import Fix | ||
|
||
|
||
class Tas(Fix): | ||
"""Fixes for tas.""" | ||
|
||
def fix_metadata(self, cubes): | ||
"""Add height (2m) coordinate and correct long_name for time. | ||
Parameters | ||
---------- | ||
cubes : iris.cube.CubeList | ||
Input cubes. | ||
Returns | ||
------- | ||
iris.cube.CubeList | ||
""" | ||
cube = self.get_cube_from_list(cubes) | ||
add_scalar_height_coord(cube) | ||
|
||
return cubes | ||
|
||
|
||
Tasmin = Tas | ||
|
||
|
||
Tasmax = Tas | ||
|
||
|
||
Hurs = Tas | ||
|
||
|
||
Huss = Tas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
"""Fixes for rcm WRF381P driven by ICHEC-EC-EARTH.""" | ||
from esmvalcore.cmor._fixes.shared import add_scalar_height_coord | ||
from esmvalcore.cmor.fix import Fix | ||
|
||
|
||
class Tas(Fix): | ||
"""Fixes for tas.""" | ||
|
||
def fix_metadata(self, cubes): | ||
"""Add height (2m) coordinate and correct long_name for time. | ||
Parameters | ||
---------- | ||
cubes : iris.cube.CubeList | ||
Input cubes. | ||
Returns | ||
------- | ||
iris.cube.CubeList | ||
""" | ||
cube = self.get_cube_from_list(cubes) | ||
add_scalar_height_coord(cube) | ||
|
||
return cubes | ||
|
||
|
||
Tasmin = Tas | ||
|
||
|
||
Tasmax = Tas | ||
|
||
|
||
Hurs = Tas | ||
|
||
|
||
Huss = Tas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Fixes for CORDEX data.""" |
36 changes: 36 additions & 0 deletions
36
esmvalcore/cmor/_fixes/cordex/ipsl_ipsl_cm5a_mr/wrf381p.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
"""Fixes for rcm WRF381P driven by IPSL-IPSL-CM5A-MR.""" | ||
from esmvalcore.cmor._fixes.shared import add_scalar_height_coord | ||
from esmvalcore.cmor.fix import Fix | ||
|
||
|
||
class Tas(Fix): | ||
"""Fixes for tas.""" | ||
|
||
def fix_metadata(self, cubes): | ||
"""Add height (2m) coordinate and correct long_name for time. | ||
Parameters | ||
---------- | ||
cubes : iris.cube.CubeList | ||
Input cubes. | ||
Returns | ||
------- | ||
iris.cube.CubeList | ||
""" | ||
cube = self.get_cube_from_list(cubes) | ||
add_scalar_height_coord(cube) | ||
|
||
return cubes | ||
|
||
|
||
Tasmin = Tas | ||
|
||
|
||
Tasmax = Tas | ||
|
||
|
||
Hurs = Tas | ||
|
||
|
||
Huss = Tas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
"""Fixes for rcm WRF381P driven by MOHC-HadGEM2-ES.""" | ||
from esmvalcore.cmor._fixes.shared import add_scalar_height_coord | ||
from esmvalcore.cmor.fix import Fix | ||
|
||
|
||
class Tas(Fix): | ||
"""Fixes for tas.""" | ||
|
||
def fix_metadata(self, cubes): | ||
"""Add height (2m) coordinate and correct long_name for time. | ||
Parameters | ||
---------- | ||
cubes : iris.cube.CubeList | ||
Input cubes. | ||
Returns | ||
------- | ||
iris.cube.CubeList | ||
""" | ||
cube = self.get_cube_from_list(cubes) | ||
add_scalar_height_coord(cube) | ||
|
||
return cubes | ||
|
||
|
||
Tasmin = Tas | ||
|
||
|
||
Tasmax = Tas | ||
|
||
|
||
Hurs = Tas | ||
|
||
|
||
Huss = Tas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
"""Fixes for rcm WRF381P driven by NCC-NorESM1-M.""" | ||
from esmvalcore.cmor._fixes.shared import add_scalar_height_coord | ||
from esmvalcore.cmor.fix import Fix | ||
|
||
|
||
class Tas(Fix): | ||
"""Fixes for tas.""" | ||
|
||
def fix_metadata(self, cubes): | ||
"""Add height (2m) coordinate and correct long_name for time. | ||
Parameters | ||
---------- | ||
cubes : iris.cube.CubeList | ||
Input cubes. | ||
Returns | ||
------- | ||
iris.cube.CubeList | ||
""" | ||
cube = self.get_cube_from_list(cubes) | ||
add_scalar_height_coord(cube) | ||
|
||
return cubes | ||
|
||
|
||
Tasmin = Tas | ||
|
||
|
||
Tasmax = Tas | ||
|
||
|
||
Hurs = Tas | ||
|
||
|
||
Huss = Tas |
Oops, something went wrong.