TUW-GEO / repurpose

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

Trying to reshuffle smos-ic onto gldas grid #10

Open ninadel opened 4 years ago

ninadel commented 4 years ago

Hi, I am trying to use reshuffle with resampling of smos-ic (https://github.com/TUW-GEO/smos) to a gldas grid (https://github.com/TUW-GEO/gldas/blob/435b0089c2553238adffed14ce87d456b107e979/src/gldas/grid.py#L76)

I am running into an error through img2ts at this line where it says "IndexError: index 1440 is out of bounds for axis 1 with size 1388". Do you have any thoughts on what could be causing this error? https://github.com/TUW-GEO/repurpose/blob/1d6b556f705d22f47dc92903f056193c745d71e2/repurpose/img2ts.py#L260