[GRASS-user] t.register: ERROR: day is out of range for month
Markus Neteler
neteler at osgeo.org
Wed Feb 4 01:48:06 PST 2015
On Wed, Feb 4, 2015 at 5:27 AM, RichardCooper <richtcooper at hotmail.com> wrote:
> Apologies for re-posting, but I noticed that much of the post's content
> disappeared in the email.
>
> Also, as an update I tried to add both a start and end date to the input
> file (following the t.register manual) but still get the same error on
> running t.register:
>
> ERROR: day is out of range for month
> ERROR: Unable to convert string "1951-02-29"into a datetime object
The issue is that this date did not exist:
grassuser $ > cal 2 1951
February 1951
Su Mo Tu We Th Fr Sa
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
....
> Sample of 360 day file input to t.register:
> ...
> bnd_cahpa_f1feb_05216_nc_remapped_nc_3|1951-02-03
> ...
> bnd_cahpa_f1feb_05216_nc_remapped_nc_28|1951-02-28
> bnd_cahpa_f1feb_05216_nc_remapped_nc_29|1951-02-29 <--- remove
...
> bnd_cahpa_f1feb_05216_nc_remapped_nc_30|1951-02-30 <--- remove
> bnd_cahpa_f1mar_05216_nc_remapped_nc_1|1951-03-01
...
The list may only contain existing dates.
Markus
More information about the grass-user
mailing list