python处理era5_python环境下实现ERA5逐小时数据的自动下载和简单处理

ERA5提供的下载代码#!/usr/bin/env pythonimport cdsapic = cdsapi.Client()c.retrieve('reanalysis-era5-land',{'format': 'netcdf','variable': ['2m_temperature', 'leaf_area_index_high_vegetation', 'leaf_area_index...
摘要由CSDN通过智能技术生成

ERA5提供的下载代码

#!/usr/bin/env python

import cdsapi

c = cdsapi.Client()

c.retrieve(

'reanalysis-era5-land',

{

'format': 'netcdf',

'variable': [

'2m_temperature', 'leaf_area_index_high_vegetation', 'leaf_area_index_low_vegetation',

'snow_cover', 'soil_temperature_level_1', 'surface_pressure',

'total_precipitation', 'volumetric_soil_water_layer_1',

],

'year': [

'2015',

],

'month': [

'01',

],

'day': [

'01',

],

'time': [

'06:00',

],

},

'20150101.nc')

在ERA5提供的下载代码上做了些改动,可以实现逐小时下载。为了加速下载,还使用简单的多线程(根据电脑性能确定线程数目根据电脑性能确定线程数目)。Overview - CDO - Project Management Service在ERA5提供的下载代

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值