-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code running #4
Comments
You can download The manual procedure is documented in upstream repositories (USGS-EROS/espa-surface-reflectance). I don't have the time to update the documentation, but IIRC the procedure was:
Then for convert_lpgs_to_espa --mtl <mtl_file>
create_angle_bands --xml <xml_file>
mask_per_pixel_angles.py --xml <xml_file>
lndpm --xml <xml_file> --process_sr=true
lndcal --pfile <lndcal_txt_file>
lndsr --pfile <lndsr_txt_file>
cfmask --xml <xml_file>
convert_espa_to_gtif --xml <xml_file> --gtif <arbitrary_prefix> Or for convert_lpgs_to_espa --mtl <mtl_file>
create_angle_bands --xml <xml_file>
mask_per_pixel_angles.py --xml <xml_file>
lasrc --xml <xml_file> --aux <aux_file> --write-toa
cfmask --xml <xml_file>
convert_espa_to_gtif --xml <xml_file> --gtif |
Thank you for your reply. Can the Lasrc code be used for Sentinel-2 data?
Could you please provide it if there are other git code for Sentinel-2?
Yann Forget <notifications@github.com> 于2019年8月5日周一 下午9:13写道:
… You can download do_ledaps.py from upstream repositories. It should work
since ledaps and lasrc binaries are now installed in your conda
environment.
The manual procedure is documented in upstream repositories (
USGS-EROS/espa-surface-reflectance
<https://github.com/USGS-EROS/espa-surface-reflectance>). I don't have
the time to update the documentation, but IIRC the procedure was:
1. Dowload auxiliary data for ledaps or lasrc if needed.
2. Set required environment variables for ledaps or lasrc (
LEDAPS_AUX_DIR, L8_AUX_DIR, ESUN, ESPA_LAND_MASS_POLYGON, ESPA_SCHEMA).
Then for ledaps:
convert_lpgs_to_espa --mtl <mtl_file>
create_angle_bands --xml <xml_file>
mask_per_pixel_angles.py --xml <xml_file>
lndpm --xml <xml_file> --process_sr=true
lndcal --pfile <lndcal_txt_file>
lndsr --pfile <lndsr_txt_file>
cfmask --xml <xml_file>
convert_espa_to_gtif --xml <xml_file> --gtif <arbitrary_prefix>
Or for lasrc:
convert_lpgs_to_espa --mtl <mtl_file>
create_angle_bands --xml <xml_file>
mask_per_pixel_angles.py --xml <xml_file>
lasrc --xml <xml_file> --aux <aux_file> --write-toa
cfmask --xml <xml_file>
convert_espa_to_gtif --xml <xml_file> --gtif
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AH6R2LC62ULOEJF2LIIIPATQDARPNA5CNFSM4IHOKXV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RYWGY#issuecomment-518228763>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH6R2LCPRBQBI2HFN4FZ5QDQDARPNANCNFSM4IHOKXVQ>
.
--
----------------------------------------------------------------------------------------------------------------------------------
Xianghong Che
Associate professor of Government Geographic Information System Center,
Chinese Academy of Surveying & Mapping (CASM)
Email: chexh.15b@gmal.com
Address: Lihuachi west Road, Haidian District, 100830, Beijing, China.
|
Dear friend,
What is the fuction of two commands below? I can get the sr data event
if I do not run these two commands.
create_angle_bands --xml <xml_file>
mask_per_pixel_angles.py --xml <xml_file>
Best Regards,
Xanghong Che
xianghong che <chexh.15b@gmail.com> 于2019年8月6日周二 上午12:33写道:
… Thank you for your reply. Can the Lasrc code be used for Sentinel-2 data?
Could you please provide it if there are other git code for Sentinel-2?
Yann Forget ***@***.***> 于2019年8月5日周一 下午9:13写道:
> You can download do_ledaps.py from upstream repositories. It should work
> since ledaps and lasrc binaries are now installed in your conda
> environment.
>
> The manual procedure is documented in upstream repositories (
> USGS-EROS/espa-surface-reflectance
> <https://github.com/USGS-EROS/espa-surface-reflectance>). I don't have
> the time to update the documentation, but IIRC the procedure was:
>
> 1. Dowload auxiliary data for ledaps or lasrc if needed.
> 2. Set required environment variables for ledaps or lasrc (
> LEDAPS_AUX_DIR, L8_AUX_DIR, ESUN, ESPA_LAND_MASS_POLYGON, ESPA_SCHEMA
> ).
>
> Then for ledaps:
>
> convert_lpgs_to_espa --mtl <mtl_file>
> create_angle_bands --xml <xml_file>
> mask_per_pixel_angles.py --xml <xml_file>
> lndpm --xml <xml_file> --process_sr=true
> lndcal --pfile <lndcal_txt_file>
> lndsr --pfile <lndsr_txt_file>
> cfmask --xml <xml_file>
> convert_espa_to_gtif --xml <xml_file> --gtif <arbitrary_prefix>
>
> Or for lasrc:
>
> convert_lpgs_to_espa --mtl <mtl_file>
> create_angle_bands --xml <xml_file>
> mask_per_pixel_angles.py --xml <xml_file>
> lasrc --xml <xml_file> --aux <aux_file> --write-toa
> cfmask --xml <xml_file>
> convert_espa_to_gtif --xml <xml_file> --gtif
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#4?email_source=notifications&email_token=AH6R2LC62ULOEJF2LIIIPATQDARPNA5CNFSM4IHOKXV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3RYWGY#issuecomment-518228763>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AH6R2LCPRBQBI2HFN4FZ5QDQDARPNANCNFSM4IHOKXVQ>
> .
>
--
----------------------------------------------------------------------------------------------------------------------------------
Xianghong Che
Associate professor of Government Geographic Information System Center,
Chinese Academy of Surveying & Mapping (CASM)
Email: ***@***.***
Address: Lihuachi west Road, Haidian District, 100830, Beijing, China.
--
----------------------------------------------------------------------------------------------------------------------------------
Xianghong Che
Associate professor of Government Geographic Information System Center,
Chinese Academy of Surveying & Mapping (CASM)
Email: chexh.15b@gmal.com
Address: Lihuachi west Road, Haidian District, 100830, Beijing, China.
|
Sorry for the late response,
PS: No, LEDAPS/LaSRC code cannot be used with Sentinel data, only Landsat Yann |
Dear Yann,
I have read the official documentation, but this is no explanation for
create_angle_bands and mask_per_pixel_angles.py. These two code are
necessary for atmosphere correction?
Yann Forget <notifications@github.com> 于2019年8月29日周四 下午5:44写道:
… Sorry for the late response,
create_angle_bands is a binary tool included in the recipe that generates
per-pixel zenith and azimuth. For more details regarding each command in
LEDAPS, please see the official documentation
<https://github.com/USGS-EROS/espa-surface-reflectance/blob/master/ledaps/ledapsSrc/doc/LEDAPS_User_Ref_SR.txt>
or the upstream do_ledaps.py
<https://github.com/USGS-EROS/espa-surface-reflectance/blob/master/ledaps/ledapsSrc/scripts/do_ledaps.py>
script.
PS: No, LEDAPS/LaSRC code cannot be used with Sentinel data, only Landsat
Yann
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AH6R2LC4JPYCT3ZVJVFOGWTQG6LBRA5CNFSM4IHOKXV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5N5BUY#issuecomment-526110931>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH6R2LCLS6LDXD2GELTVFETQG6LBRANCNFSM4IHOKXVQ>
.
--
----------------------------------------------------------------------------------------------------------------------------------
Xianghong Che
Associate professor of Government Geographic Information System Center,
Chinese Academy of Surveying & Mapping (CASM)
Email: chexh.15b@gmal.com
Address: Lihuachi west Road, Haidian District, 100830, Beijing, China.
|
Yes, it is used by the LEDAPS modules. I'm not sure they are necessary though. Note that, IIRC, Yann |
Dear Yannforget,
Sorry to disturb you again. When using create_landsat_angle_bands, I had a
issue which is showed below: Please do me a favor.
Looking forward to hearing from you.
[image: image.png]
Yann Forget <notifications@github.com> 于2019年8月30日周五 下午5:22写道:
… Yes, it is used by the LEDAPS modules. I'm not sure they are necessary
though.
Note that, IIRC, create_angle_bands is for Landsat 8 data, and
create_landsat_angle_bands is for Landsat TM & ETM.
Yann
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4?email_source=notifications&email_token=AH6R2LFA7EQFCHMDMTYXPO3QHDRELA5CNFSM4IHOKXV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5RDOYA#issuecomment-526530400>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AH6R2LFHJ3MFXLXFMYHIFMTQHDRELANCNFSM4IHOKXVQ>
.
--
----------------------------------------------------------------------------------------------------------------------------------
Xianghong Che
Associate professor of Government Geographic Information System Center,
Chinese Academy of Surveying & Mapping (CASM)
Email: chexh.15b@gmal.com
Address: Lihuachi west Road, Haidian District, 100830, Beijing, China.
|
Dear yannforget,
Could you please give three examples to how to run ledaps, lasrc and cfmask ater these packages are installed as conda-recipes show. I did not find the codes like do_ledaps.py etc.
The text was updated successfully, but these errors were encountered: