capstone-coal/pycoal

AttributeError: 'module' object has no attribute 'mineral'

Closed this issue · 14 comments

I was running the example with one hyperspectral image having 20 bands. i got this error. But It generates 2 images. but they are not RGB or classified.

@BlcaKHat We will look into this. Just to verify, you have built pycoal, correct?

python setup.py install

I installed it via pip. do i still need to build ?

@BlcaKHat Yes you do, let me know how pycoal behaves after you have built

still got this error in

generate a mining classified image

mining_classification.classify_image(mineral_filename, mining_filename)

last_line

I have aviris data of Ahamdabad , india and i have 9 classes . like ubran, water .. etc
help me out.

@BlcaKHat It looks like you don't have spectral installed. Try

sudo pip install spectral

Here are all the dependencies for pycoal
https://capstone-coal.github.io/docs#dependencies

gdal will take a bit longer to install than the others but you won't need it until you try to generate an environmental classified file

@BlcaKHat please provide a link to the Ahamdabad imagery you are attempting to classify. Thanks

The data i am using is not Free or sharable in my country. I am working under ( Indian institute of Remote sensing ). I am not allowed to take the data. I will try to give you the details of data tommorow.

I have installed spectral and I was working with spectral to work with hyperspectral data

@BlcaKHat

The data i am using is not Free or sharable in my country. I am working under ( Indian institute of Remote sensing ). I am not allowed to take the data. I will try to give you the details of data tommorow.

Got it, right now pycoal only aims to work with AVIRIS-C and AVIRIS-NG data.

By the way, AVIRIS-NG had flown many campaigns in India, you can see them here https://avirisng.jpl.nasa.gov/alt_locator/

imggg

this is the image..

you try to get data if possible

@BlcaKHat please see the following information

NOTE: If you encounter difficulty accessing any data, please contact Sarah Lundeen <sarah.r.lundeen@jpl.nasa.gov> and we will make the data available for you.

@lewismc thank you so much.