Adding AC algorithms to Seadas 8.3.0 on Windows

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
tager
Posts: 2
Joined: Wed Mar 08, 2023 9:49 am America/New_York
Answers: 0

Adding AC algorithms to Seadas 8.3.0 on Windows

by tager » Wed Mar 08, 2023 10:01 am America/New_York

How do I implement an alternative AC algorithm in Seadas 8.3.0?
In my case, I am trying to add the AC algorithm by Singh et al. 2019 in the l2gen processor on a Windoes computer.

The code is available at https://github.com/rakeshkstp/AtmosphericCorrection

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 644
Joined: Tue Feb 09, 2021 5:42 pm America/New_York
Answers: 1
Been thanked: 1 time

Re: Adding AC algorithms to Seadas 8.3.0 on Windows

by OB SeaDAS - xuanyang02 » Thu Mar 09, 2023 10:32 am America/New_York

OCSSW cannot be built on Windows. Here is the requirement and how to build OCSSW https://seadas.gsfc.nasa.gov/build_ocssw/

If you have SeaDAS 8.3.0 installed on linux or mac, you can install OCSSW with the source code, and follow the instructions here https://github.com/rakeshkstp/AtmosphericCorrection to modify the OCSSW code and compile them

tager
Posts: 2
Joined: Wed Mar 08, 2023 9:49 am America/New_York
Answers: 0

Re: Adding AC algorithms to Seadas 8.3.0 on Windows

by tager » Fri Mar 10, 2023 2:23 am America/New_York

Thank you very much for your reply.

Guess I will have to install Linux on my PC then.

best,
Thomas

OB.DAAC - SeanBailey
User Services
User Services
Posts: 1464
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 4 times

Re: Adding AC algorithms to Seadas 8.3.0 on Windows

by OB.DAAC - SeanBailey » Fri Mar 10, 2023 1:11 pm America/New_York

While the code does not compile (or run) natively on Windows, you can install WSL (Window Subsystem for Linux) and compile under it on a Windows machine without needing to load Linux natively on the system.
You could also use a Docker container with a Linux OS (via Docker Desktop, for example).

Sean

Post Reply