[GRASS-user] t.register: ERROR: day is out of range for month

RichardCooper richtcooper at hotmail.com
Tue Feb 3 20:27:35 PST 2015


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 process in more detail:
Aim: to process and analyse a 360 day (30 day/month) climate database

t.create --overwrite output=cahpa05216fgh_stvds type=stvds semantictype=max
title="cahpa_05216fgh_prcp_stvds" description="CAHPA05216 for MAPSETfgh
Precipitation STVDS" 

t.register --overwrite input=test_stvds type=vector
file=/home/rcooper/glist_fgh_vectors.out
Gathering map information...
ERROR: day is out of range for month
ERROR: Unable to convert string "1951-02-29"into a datetime object


Sample of 360 day file input to t.register:
... 
bnd_cahpa_f1jan_05216_nc_remapped_nc_28|1951-01-28 
bnd_cahpa_f1jan_05216_nc_remapped_nc_29|1951-01-29 
bnd_cahpa_f1jan_05216_nc_remapped_nc_30|1951-01-30
bnd_cahpa_f1feb_05216_nc_remapped_nc_1|1951-02-01 
bnd_cahpa_f1feb_05216_nc_remapped_nc_2|1951-02-02 
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 
bnd_cahpa_f1feb_05216_nc_remapped_nc_30|1951-02-30
bnd_cahpa_f1mar_05216_nc_remapped_nc_1|1951-03-01 
bnd_cahpa_f1mar_05216_nc_remapped_nc_2|1951-03-02 
bnd_cahpa_f1mar_05216_nc_remapped_nc_3|1951-03-03 
bnd_cahpa_f1mar_05216_nc_remapped_nc_4|1951-03-04 
... 

GRASS version: 7.0.0svn                                                         
GRASS SVN Revision: 64042                                                       
Build Date: 2015-01-10                                                          
Build Platform: i686-pc-linux-gnu                                               
GDAL/OGR: 1.11.1                                                                
PROJ.4: 4.9.0                                                                   
GEOS: 3.4.2                                                                     
SQLite: 3.7.9                                                                   
Python: 2.7.3                                                                   
wxPython: 2.8.12.1                                                              
Platform: Linux-3.2.0-31-generic-pae-i686-with-LinuxMint-13-maya 






--
View this message in context: http://osgeo-org.1560.x6.nabble.com/t-register-ERROR-day-is-out-of-range-for-months-tp5185155p5185370.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list