[GRASS-dev] [GRASS GIS] #3392: t.register: encoding error

GRASS GIS trac at osgeo.org
Thu Aug 10 06:54:19 PDT 2017


#3392: t.register: encoding error
---------------------------------+-------------------------
 Reporter:  mlennert             |      Owner:  grass-dev@…
     Type:  defect               |     Status:  new
 Priority:  normal               |  Milestone:  7.2.2
Component:  Temporal             |    Version:  svn-trunk
 Keywords:  t.register encoding  |        CPU:  Unspecified
 Platform:  Unspecified          |
---------------------------------+-------------------------
 Using the data and examples from [http://ncsu-geoforall-lab.github.io
 /grass-temporal-workshop/ 1] in a french (fr_BE at UTF-8) encoding
 environment, I get an encoding error using t.register:


 {{{
 g.list type=raster pattern="*tempmean" output=fichier_cartes_tempmean
 t.create output=pluies_nc semantictype=sum title=precipitation_mois
 description="Précipitation totale mensuelle NC"
 t.register -i input=pluies_nc at climate_2000_2012
 file=fichier_cartes_tempmean start=2000-01-01 increment="1 months"
 Collecte des informations sur la carte ...
  100%
 Registering maps in the temporal database...
 Registering maps in the space time dataset...
 Updating space time dataset...
 ERREUR :ascii,Mettre à jour les métadonnées, l'emprise spatiale et
         temporelle de toutes les cartes enregistrées de <,7,8,ordinal not
         in range(128)
 }}}

 And when I run t.register again:


 {{{
 t.register -i input=pluies_nc at climate_2000_2012
 file=fichier_cartes_tempmean start=2000-01-01 increment="1 months"
 Collecte des informations sur la carte ...
 ATTENTION: Map is already registered in temporal database. Unable to
 update
            raster map <2000_01_tempmean at climate_2000_2012>. Overwrite flag
            is not set.
 [...]
 ATTENTION: Map is already registered in temporal database. Unable to
 update
            raster map <2012_12_tempmean at climate_2000_2012>. Overwrite flag
            is not set.
  100%
 Registering maps in the space time dataset...
 ERREUR :ascii,%s> est déjà enregistrée.,9,10,ordinal not in range(128)
 }}}

 ould be supercool if this could still be solved for 7.2.2 :-)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3392>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list