Skip to content
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

voila dashboards for EOSC 340 #40

Open
4 of 8 tasks
phaustin opened this issue Sep 10, 2020 · 5 comments
Open
4 of 8 tasks

voila dashboards for EOSC 340 #40

phaustin opened this issue Sep 10, 2020 · 5 comments
Assignees

Comments

@phaustin
Copy link
Contributor

phaustin commented Sep 10, 2020

@phaustin phaustin changed the title voila dashboards for EOSC 340 and ENVR 300 voila dashboards for EOSC 340 Sep 10, 2020
@phaustin
Copy link
Contributor Author

phaustin commented Sep 27, 2020

The following is working for me on windows:

  1. open a wsl2 ubuntu shell in terminal
  2. git clone https://github.com/phaustin/modtran
  3. git checkout -b cmake origin/cmake
  4. cd modtran/reference
  5. sudo apt-get install gfortran cmake make
  6. mkdir build
  7. cd build
  8. cmake ..
  9. make install

This should leave you with two binaries in reference/bin: mktape -- compiled from mktape5.f is supposed to read values from the command line and produce an output file that can be used as the input
for testmodtran. To see what the mktape output looks like, take a look at the some of the sample output files like; this one from voila-eoas --those initial rows are a printout of the input file that modtran ran to produce that output.

The objective is to figure out how all this works, but putting the right inputs into mktape and getting a duplication of the modtran website results when we run modtran on the mktape output.

@phaustin
Copy link
Contributor Author

April 12:

  1. new functions to read a libradtran sounding, operate on it (double CO2, 2Xwaterr vapor) , write it out and run uvspec on new sounding
  2. write a script that reproduces all the modtran cases in the new uvspec format, and use those in dashboard instead of modtran output
  3. call uvspec from within ap using the subprocess module to run the docker container
  4. pass all dashboard parameters to the app, modify the soundings, select height, up/down etc. and then call uvspec

@hari-ushankar
Copy link

@phaustin
Copy link
Contributor Author

libradtran docker container: https://github.com/phaustin/isofit_docker

@phaustin
Copy link
Contributor Author

phaustin commented Jul 6, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants