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

Move online TUV-x python driver to public GitHub repo #121

Open
mattldawson opened this issue Feb 5, 2025 · 2 comments
Open

Move online TUV-x python driver to public GitHub repo #121

mattldawson opened this issue Feb 5, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@mattldawson
Copy link
Collaborator

A user is interested in providing the same inputs in a script as are used in the online TUV-x calculator (see #120).

@carl-drews has python scripts that do this for the online tool. If we move these scripts to a public GitHub repo with some instructions on how to use them, this should allow users to run a "local version" of the online calculator.

We should discuss how this overlaps with the long-term goal of having a TUV-x python wrapper.

@mattldawson mattldawson added the enhancement New feature or request label Feb 5, 2025
@mattldawson mattldawson added this to the TUV-x Python wrapper milestone Feb 5, 2025
@carl-drews
Copy link
Contributor

The main python script is currently synchronized between the operational directory:
modeling2:/home/drews/TUV-x> ls -l tuv-x-remote.py
-rwxr-xr-x 1 drews support 29456 May 15 2024 tuv-x-remote.py*

and the ACOM subversion repository for CGI scripts:
web3:/var/www/cgi-bin/acom> ls -l tuv-x-remote.py
-rwxr-xr-x 1 root root 29456 May 15 2024 tuv-x-remote.py*

@carl-drews
Copy link
Contributor

Supporting files are tuvCore.py and tuvUtils.py. And goTuv-x-remote is useful during development.

modeling2:/home/drews/TUV-x> ls
'' InputOption2-error.txt pycache/ tuvUtils.py tuv-x-remote.py*
backup/ logs/ stage/ tuv-x-20230602/ utilsLite.py
dose_rates.nc netcdf-c-4.9.1.tar.gz subset/ tuv-x-20230603/ vim
error.json netcdf-fortran-4.6.0.tar.gz temp/ tuvx-build/ webIndex.py*
goTuv-x-remote* photolysis_rate_constants.nc tuvCore.py tuvx_config-20231026.json
modeling2:/home/drews/TUV-x>

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

No branches or pull requests

2 participants