Open ottohyva opened 5 years ago
This error is caused by line 9 in the function loadeR:::getRunTimeDomain.seasonal: rt.axis <- gcs$getRunTimeAxis() because the file apparently does not contain the RunTime axis. Ah, I have to do something to my files?
Dera @ottohyva , thanks for your ticket. The file has no definition for the runtime axis, and therefore this dimension is not found. Please try to use loadGridData
instead. Best regards
Thanks, I still have to change attributes with "ncatted -a _CoordinateAxisType,number,o,c,Ensemble foo.nc", because otherwise loadGridData thinks ensemble members are levels. Then I thought I can fix RunTime with "ncatted -a _CoordinateAxisType,time,o,c,RunTime foo.nc", but that breaks things: "NOTE: Undefined Dataset Time Axis (static variable)", so I am not going to do that.
If I load seasonal (re)forecasts with loadGridData, will there be problems later, or is loadSeasonalForecast just a more convenient version of loadGridData?
Hi,
I have loaded a grib file from MARS with this """ from ecmwfapi import ECMWFService
filename = "myforecastT2mAnomGlobal.grib"
server = ECMWFService("mars") server.execute({ "class": "od", "date": "2019-02-01", "expver": 1, "fcmonth": [1, 2, 3, 4, 5, 6, 7], "levtype": "sfc", "method": 1, "number": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], "origin": "ecmf", "param": "167.171", "stream": "mmsa", "system": 5, "time": "00:00:00", "type": "fcmean" } , filename ) """ and then try to load it with
I understand that you prefer us to use loadeR.ECOMS, but we would like to use local files.