Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ESACCI-SST cmorizer to v3.0 #3697

Open
wants to merge 50 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
caf735a
add downloader
LisaBock Mar 19, 2024
7658254
first try with daily data
LisaBock Mar 19, 2024
88450d9
modify downloader for daily data
LisaBock Mar 20, 2024
8678f73
add fix type
LisaBock Mar 27, 2024
50bae58
Merge remote-tracking branch 'public/main' into update_esacci_sst
LisaBock May 29, 2024
3d13203
fix cmorizer
LisaBock May 30, 2024
a03421e
first try downloader v3.0
LisaBock May 30, 2024
c9b6f5d
Merge remote-tracking branch 'public/main' into update_esacci_sst
LisaBock Jun 28, 2024
4c279fb
clean downloader
LisaBock Jun 28, 2024
04e1d62
add monthly sst
LisaBock Jun 28, 2024
f3dd97d
update cmor_config
LisaBock Jul 1, 2024
1104156
update reference
LisaBock Jul 1, 2024
f3af2f7
save monthly data
LisaBock Jul 1, 2024
756b409
fix codacy
LisaBock Jul 1, 2024
faa6ffb
fix codacy
LisaBock Jul 1, 2024
576dc8a
tosStderr added
LisaBock Jul 1, 2024
2922a3a
update doc table
LisaBock Jul 1, 2024
d7d64f9
update time period
LisaBock Jul 1, 2024
5cbbf57
fix codacy
LisaBock Jul 1, 2024
820e4da
fix codacy
LisaBock Jul 1, 2024
7080d8d
fix
LisaBock Jul 1, 2024
f04e9cf
fix memory issue
LisaBock Jul 10, 2024
cf05609
rm hardcoded years
LisaBock Jul 10, 2024
1ef0ab8
fix
LisaBock Jul 10, 2024
c785eb8
fix
LisaBock Jul 10, 2024
28866f2
fix
LisaBock Jul 10, 2024
02d0aef
fix date
LisaBock Jul 10, 2024
82c47f7
fix date
LisaBock Jul 10, 2024
c358b72
fix style
LisaBock Jul 11, 2024
96dc7a5
Update doc/sphinx/source/input.rst
LisaBock Jul 11, 2024
2a835d2
Merge branch 'update_esacci_sst' of github.com:ESMValGroup/ESMValTool…
LisaBock Jul 11, 2024
b3d9e75
Update years
LisaBock Jul 11, 2024
4590c1b
Update years
LisaBock Jul 11, 2024
0ee1513
specify global attrs
LisaBock Jul 15, 2024
53df005
fix syntax
LisaBock Jul 16, 2024
d3829fc
changes regarding the review
LisaBock Jul 16, 2024
fd2057d
Merge branch 'fix_set_global_atts' into update_esacci_sst
LisaBock Jul 16, 2024
fb29914
recipes/examples/recipe_check_obs.yml
LisaBock Jul 16, 2024
cf88af8
clear
LisaBock Jul 16, 2024
fe950be
add comment
LisaBock Jul 16, 2024
c13daad
rm import
LisaBock Jul 16, 2024
77de1fe
adjust years
LisaBock Jul 16, 2024
0384623
Merge remote-tracking branch 'public/main' into update_esacci_sst
LisaBock Jul 17, 2024
6e9fc0d
rm regridding of uncertainty field
LisaBock Jul 17, 2024
6346b30
reduce time period for tosStderr in recipe_check_obs.yml
LisaBock Jul 17, 2024
5ae0ea5
Merge remote-tracking branch 'public/main' into update_esacci_sst
LisaBock Dec 9, 2024
1a39c69
change back to Tier2
LisaBock Dec 11, 2024
56d4fce
change to wget downloader
LisaBock Dec 12, 2024
531e9c9
small fixes
LisaBock Dec 12, 2024
b8afc64
code style fixes
LisaBock Dec 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix codacy
  • Loading branch information
LisaBock committed Jul 1, 2024

Verified

This commit was signed with the committer’s verified signature.
natanfelles Natan Felles
commit faa6ffb75f3990e433c056ec9f5fc9ee94d5ef75
Original file line number Diff line number Diff line change
@@ -9,6 +9,8 @@

from esmvaltool.cmorizers.data.downloaders.ftp import FTPDownloader

logger = logging.getLogger(__name__)


def download_dataset(config, dataset, dataset_info, start_date, end_date,
overwrite):
7 changes: 4 additions & 3 deletions esmvaltool/cmorizers/data/formatters/datasets/esacci_sst.py
Original file line number Diff line number Diff line change
@@ -113,13 +113,14 @@ def cmorization(in_dir, out_dir, cfg, cfg_user, start_date, end_date):
iris.coord_categorisation.add_month_number(monthly_cube,
'time')
iris.coord_categorisation.add_year(monthly_cube, 'time')
monthly_cube = monthly_cube.aggregated_by(['month_number', 'year'],
iris.analysis.MEAN)
monthly_cube = monthly_cube.aggregated_by(['month_number',
'year'],
iris.analysis.MEAN)
monthly_cube.remove_coord('month_number')
monthly_cube.remove_coord('year')
mon_cubes.append(monthly_cube)
# Save monthly data
if 'Stderr' not in var_name:
if 'Stderr' not in var_name:
yearly_cube = concatenate(mon_cubes)
glob_attrs['mip'] = vals['mip'][1]
save_variable(yearly_cube,