# -*- coding: utf-8 -*-
"""
Created on Thu Mar 23 11:19:18 2023
@author: sun'xiang'yan
"""
import time
import cdsapi
import requests
import multiprocessing
import numpy as np
import calendar
import os
# CDS API script to use CDS service to retrieve daily ERA5* variables and iterate over
# all months in the specified years.
# Requires:
# 1) the CDS API to be installed and working on your system
# 2) You have agreed to the ERA5 Licence (via the CDS web page)
# 3) Selection of required variable, daily statistic, etc
# Output:
# 1) separate netCDF file for chosen daily statistic/variable for each month
# Uncomment years as required
# For valid keywords, see Table 2 of:
# https://datastore.copernicus-climate.eu/documents/app-c3s-daily-era5-statistics/C3S_Application-Documentation_ERA5-daily-statistics-v2.pdf
# select your variable; name must be a valid ERA5 CDS API name.
# Select the required statistic, valid names given
python批量下载ERA5气象数据
最新推荐文章于 2025-03-07 10:53:05 发布