TUW-GEO / repurpose

Routines for the conversion of image formats to time series and vice versa.
Other
4 stars 4 forks source link

"asfreq" on aggregate function #9

Open ninadel opened 4 years ago

ninadel commented 4 years ago

Hi, I am trying to test out this ts2img script to convert H115 into images (we want to resample this product to 0.25 degree grid so hopefully this is the way to do it?). Anyway, the script here refers to ts.asfreq, but it throws an error because I think it should be ts.data.asfreq

https://github.com/TUW-GEO/repurpose/blob/1d6b556f705d22f47dc92903f056193c745d71e2/repurpose/ts2img.py#L59

sebhahn commented 4 years ago

is ts a pandas.DataFrame or a ASCAT timeseries object?

ninadel commented 4 years ago

I'm trying to recreate the error but haven't been able to do so yet--I know when I was running ts2img it called the agg_tsmonthly function and handed it a Ascat TS object instead of a pandas DF. I will look at this later and see if I can recreate this error.