Nikos.

On 09/09/2016 01:37 AM, Nikos Alexandris wrote:
William Hudspeth:

I am using i.worldview.toar with the latest version of GRASS 7.3. I was
able to successfully download and install this extension. I have tried
using the module with the following input and error. All of the input
files exist, and I get an error stating that "No data base element files
found". Help appreciated...

i.worldview.toar band=worldview2_b1_RED@worldview2,worldview2_b2_GREEN@worldview2,worldview2_b3_BLUE@worldview2,worldview2_b4_NIR@worldview2 outputsuffix=toar utc=2010-04-11T18:07:06.558405Z doy=101 sea=60.3

Do you really need the 'worldview2' prefix for your band names? It's
identical to your Mapset's name. This is what a mapset is meant (or can
be used) for: a set of maps.  In this case, it's a set of 'worldview2'
"maps".


Would you rename your bands and try again?

i.worldview.toar band=b1_RED,b2_GREEN,b3_BLUE,b4_NIR outputsuffix=toar utc=2010-04-11T18:07:06.558405Z doy=101 sea=60.3

Nikos

[rest deleted]

I have given the bands simpler names, have re-run i.worldview.toar, and am getting the same error:

i.worldview.toar band=b1_red@worldview2,b2_green@worldview2,b3_blue@worldview2,b4_nir@worldview2 outputsuffix=toar utc=2010-04-11T18:07:06.558405Z doy=101 sea=60.3
|! Using Day of Year to calculate Earth-Sun distance.

|! Region matching the b1_red@worldview2 spectral band

|* Processing the b1_red@worldview2 band
Traceback (most recent call last):
  File
"/home/wilbur/.grass7/addons/scripts/i.worldview.toar", line
416, in <module>
    sys.exit(main())
  File
"/home/wilbur/.grass7/addons/scripts/i.worldview.toar", line
320, in main
    acf = float(CF_BW_ESUN[band][2])
KeyError: 'b1_red'
WARNING: No data base element files found

Thank you

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

Reply via email to