Johannes Radinger wrote:

Doesn't work either with the -o flag:

r.unpack --o
input=/media/grassgis_data/tmp/tmp_Cele_raster_pack/my_raster.pack
output=my_raster
Traceback (most recent call last):
File "/usr/local/grass-7.0.1svn/scripts/r.unpack", line 146, in <module>
    sys.exit(main())
File "/usr/local/grass-7.0.1svn/scripts/r.unpack", line 104, in main
    proj=True):


Lines 115, 116 in r.unpack.py look a bit strange:

115  if flags['o']:
116 grass.warning(_("Projection information does not match. Proceeding..."))

I mean, if the "-o" flag is instructed, which for line 115, means "True",
then issue the warning message.

The message seems to contradict the intention of using the flag here? Maybe I don't get it right though.

Nikos


File "/usr/local/grass-7.0.1svn/etc/python/grass/script/core.py", line
863, in compare_key_value_text_files
    checkunits=units)
File "/usr/local/grass-7.0.1svn/etc/python/grass/script/core.py", line
790, in _text_to_key_value_dict
    text = open(filename, "r").readlines()
IOError: [Errno 2] No such file or directory: 'PROJ_INFO'

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to