You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# fix longitude
if cube_coord.var_name == 'lon':
logger.info("Fixing longitude...")
if cube_coord.ndim == 1:
cube = cube.intersection(longitude=(0.0, 360.0))
if overwrite_lon_bounds or not cube_coord.has_bounds():
fix_bounds(cube, cube_coord) ## cube.coord('longitude')
# fix latitude
if cube_coord.var_name == 'lat':
logger.info("Fixing latitude...")
if overwrite_lat_bounds or not cube.coord('latitude').has_bounds():
fix_bounds(cube, cube.coord('latitude'))
I will submit a PR
The text was updated successfully, but these errors were encountered:
flicj191
changed the title
fix_bounds is not fixing the bounds of the longitude coordinate
fix_coords is not fixing the bounds of the longitude coordinate
Feb 11, 2025
Describe the bug
When using the cmoriser data utilities
fix_bounds
is not fixing the bounds of the longitude coordinate.ESMValTool/esmvaltool/cmorizers/data/utilities.py
Line 224 in c5650ea
I will submit a PR
The text was updated successfully, but these errors were encountered: