MarcYin / SIAC

A sensor invariant Atmospheric Correction (SIAC)
http://www2.geog.ucl.ac.uk/~ucfafyi/Atmo_Cor/
GNU Affero General Public License v3.0
61 stars 17 forks source link

trouble using SIAC_L8 #7

Closed AndrewPham9 closed 4 years ago

AndrewPham9 commented 5 years ago

Hi MarcYin. I installed SIAC through pip install for both python 3.6 and 2.7 version. with 3.6 version i got below error image then i change to 2.7 version and still got problem image finally i changed to google colab to check if my python environment has some thing wrong. This time it process successfully and return 6 .pkl files. image So i have 3 questions. first 2 are about error in python from my environment. 3rd question is "what should i do next with 6 .pkl files?" Thank you alot!

MarcYin commented 5 years ago

Hi,

It seems the problem is related to the downloading of emulator files in the closed problem at #6 .

You do not need to do anything with the emulator files and it will be used directly by SIAC when you are doing AC.

Cheers,

Marc.

AndrewPham9 commented 5 years ago

tks Marc. but the final file after doing SIAC is as ".pkl" but i cannot load pkl by python even when in colab. is .pkl file final product of this whole process?

On Tue, Jun 18, 2019 at 5:54 PM MarcYin notifications@github.com wrote:

Hi,

It seems the problem is related to the downloading of emulator files in the closed problem at #6 https://github.com/MarcYin/SIAC/issues/6 .

You do not need to do anything with the emulator files and it will be used directly by SIAC when you are doing AC.

Cheers,

Marc.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MarcYin/SIAC/issues/7?email_source=notifications&email_token=AMLCXBB2CQD2MEJHUY7VWQTP3C5E5A5CNFSM4HY566T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX572BA#issuecomment-503053572, or mute the thread https://github.com/notifications/unsubscribe-auth/AMLCXBGJKO3J6HYHUCRP7Y3P3C5E5ANCNFSM4HY566TQ .

MarcYin commented 5 years ago

Hi Andrew,

The emulators files (.pkl) are not the final products, and it's used by SIAC as a numerical approximation of 6S radiative transfer model for both atmospheric parameters retrieval and atmospheric correction. I saw you are using Windows system for the testing, but I do not have access to windows machine, and I did not test it running with windows machine neither, so do you have a linux system where you can test whether it works or not?

Cheers,

Marc.

AndrewPham9 commented 5 years ago

Hi Marc. Thing seems to be still not right. This time, i got below problem. image

MarcYin commented 5 years ago

Hi,

This should be a problem in generating Landsat 8 per-pixel angle and the tool included in SIAC is the one from https://www.usgs.gov/media/files/landsat-8-angles-creation-tools-readme. That tool requires a GNU C/Linux environment, and your current operating is windows, which should be the reason why it can not generating the Landsat 8 angles. So the direct suggestion is to use a linux environment, which should free from this issue.

Cheers,

Marc.

MarcYin commented 5 years ago

Hi,

I have made a conda package for SIAC and which should be able to install relevant gcc and other dependences for you automatically, and the way you can install it is by:

conda install -c f0xy siac

Marc.

AndrewPham9 commented 5 years ago

Thank you so much. i'll try and reply if it works.

Andrew.

On Mon, Jul 8, 2019 at 8:54 PM MarcYin notifications@github.com wrote:

Hi,

I have made a conda package for SIAC and which should be able to install relevant gcc and other dependences for you automatically, and the way you can install it is by:

conda install -c f0xy siac

Marc.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MarcYin/SIAC/issues/7?email_source=notifications&email_token=AMLCXBEXNLC7WVKB75NCGIDP6NBHPA5CNFSM4HY566T2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNE2SA#issuecomment-509234504, or mute the thread https://github.com/notifications/unsubscribe-auth/AMLCXBDCGR7PFCWYCIPPT2LP6NBHPANCNFSM4HY566TQ .

-- Phạm Trần Nhật Duy Researcher of HCMC Space Technology Application Center 268A Nam Ky Khoi Nghia St, Dist 3, Ho Chi Minh city, Viet Nam