python处理era5,如何使用Python处理ERA5每小时的陆上数据?

本文介绍了如何使用Python的xarray库处理ERA5每小时陆地数据,包括将总降水量(从m到mm)和2米温度(从开尔文到摄氏度)的单位转换,以及将小时数据汇总为每日数据。同时提到需要进一步解释如何从文件中选择特定信息并转换为Stata软件可读格式。
摘要由CSDN通过智能技术生成

I recently started to use ERA5 land-hourly data and python code.

I will use data of 2 variables (total precipitation and 2 metre temperature) from an entire year (2017).

Data downloaded are in GRIB or netCDF format.

The things I want to do are:

1) Convert units. In the case of:

Total precipitation - convert "m" into "mm"

2m temperature - convert "Kelvin" into "Celsius"

2) Convert hourly to daily values:

I've found the following code from ECMWF's offficial site:

https://confluence.ecmwf.int/display/CKB/ERA5%3A+How+to+calculate+daily+total+precipitation

Unfortunately, the code is designed only to compile daily values for one day

(January 1st, 2017).

I want to convert all values for an entirely year. I know that (if I'm right):

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值