This knowledge base article shows you how to calculate daily total precipitation using ERA-Interim data. If you just want monthly means, then you can simply download it from http://apps.ecmwf.int/datasets/data/interim-mdfa/levtype=sfc/.
#!/usr/bin/env python from ecmwfapi import ECMWFDataServer server = ECMWFDataServer() server.retrieve({ "class": "ei", "dataset": "interim", "date": "2018-01-01", "expver": "1", "grid": "0.75/0.75", "levtype": "sfc", "param": "228.128", "step": "12", "stream": "oper", "time": "00:00:00/12:00:00", "type": "fc", "format": "netcdf", "target": "tp_20180101.nc", }) |
Run a second script to calculate daily total precipitation. All it does is to add up the two values for 00-12 UTC and 12 - 24 UTC for the given day.
#!/usr/bin/env python from ecmwfapi import ECMWFDataServer server = ECMWFDataServer() server.retrieve({ "class": "ei", "dataset": "interim", "date": "2018-01-01", "expver": "1", "grid": "0.75/0.75", "levtype": "sfc", "param": "228.128", "step": "12", "stream": "oper", "time": "00:00:00/12:00:00", "type": "fc", "format": "netcdf", "target": "tp_20180101.nc", }) |
You may also want to use visual panels to communicate related information, tips or things users need to be aware of. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|