-
Notifications
You must be signed in to change notification settings - Fork 15
Happy Path UC02 #327
Comments
Some more information about the data set:
And here the complete stacktrace
The here mentioned
@JanisGailis maybe the |
Yes, the error message has not been updated apparently, it should be 'normalize'. I'll look into this when I get back to cate. Should be soon. |
I just tried to execute the reworked happy path (link) and I run into two problems:
|
I guess the dev6 has not yet been released. The detect_outliers now takes both, a dataset and a dataframe, so from_dataframe should not be used anywhere in our current happy path scripts. |
@JanisGailis : Did you change the weather-station-data? When I execute your happy path (and also my version of it) I encounter the following within the temporal_aggregation step:
@JanisGailis : I cannot find my mistake. But your happy path works for you? |
Yes, you have to use the same data as used in the 'official' UC02 happy path. The last line was empty (,,,,) generating this error, I removed it. |
Works perfectly! |
Comment
Relates to: #146
I conducted a preliminary happy path for Use Case 2 (see appended sh-script). When invoking it I run into some problems (see 'Steps to reproduce'-section).
Steps to reproduce the problem
cate ds copy esacci.CLOUD.mon.L3C.CLD_PRODUCTS.multi-sensor.multi-platform.ATSR2-AATSR.2-0.r1 --name CLOUD_2006_2009_region_7_48_10_52 --time '2006-01-01,2009-12-31' --region '7,48,10,52'
3.
cate ws new
4.
cate res open cloud local.CLOUD_2006_2009_region_7_48_10_52
5.
cate res set cloud_lta long_term_average ds=@cloud var="cfc"
6.
cate res set station read_csv file="/data/sherzog/cate-0.9.0.dev4/UC02/produkt_klima_Tageswerte_20050715_20151231_07341_output2.txt" delimiter=";" index_col="time"
(Link to testdata: https://github.com/CCI-Tools/cate-e2e/blob/master/testdata/produkt_klima_Tageswerte_20050715_20151231_07341_vers002.txt)
7.
cate res set station_ds from_dataframe df=@station
8.
cate res set station_outl detect_outliers ds=@station_ds var=" precipitation" threshold_low=0.00 threshold_high=100.00 quantiles=False
9.
cate res set station_lta long_term_average ds=@station_outl var="precipitation"
10.
cate res set res_8 plot ds=@station_ds var="precipitation" file="/data/sherzog/cate-0.9.0.dev4/UC02/station_ds_precipitation.jpg"
Comment Problems:
Step 9. returns the following message:
''cate res: error: Long term average operation expects a dataset with the time coordinate of type datetime64[ns], but received object. Running the harmonization operation on this dataset may help''
Step 10. returns the following:
''Executing 3 workflow step(s): done
cate res: error: Plotting requires coordinates to be numeric or dates.''
Idea:
I think the errors are due to the fact, that cate does not recognize the time-variable from the testdata well. Or the format in the testdata is wrong.
Appendix:
uc02.txt
Specifications
cate-0.9.0.dev4, on linux
The text was updated successfully, but these errors were encountered: