Closed mattldawson closed 1 month ago
Hi @fvitt - let me know when you're ready to try to start using the refactored TUV in MusicBox 2.0 and maybe we can do it as part of this issue
Is there an example or something with this use case now? (noticed the recent closure)
@zmoon not yet. We have not had time to finish the python side of TUV. I'll be sure to ping you when we get an example working.
Use case 10: Simple box model with TUV photolysis
The user wants to run a simple 48-hour (or any length of time) box model run with TUV photolysis. No input data exists for this scenario, so the user creates a NetCDF file in the native MusicBox format for a column of grid cells with the initial chemical species concentrations in each cell, and names the file
my_initial_conditions.nc
. They also create amy_evolving_conditions.nc
file (also in the native MusicBox format) for 24-hour profiles of temperature, pressure, and methane and formaldehyde concentrations for each grid cell in the column and a 24-hour profile of solar zenith angle for the column, all at 2-hour intervals (or any interval they want). The environmental conditions will be reused every 24 hours to make up the 48-hour simulation time.To run this scenario, they first copy the two NetCDF files to the
configuration/
folder they created (see page 1 workflow) and write amy_config.json
file that looks like this:They then follow the remainder of the workflow on page 1.
NOTES:
.nc
extension (unless otherwise specified) are assumed to be in the standard format—i.e., species names, environmental condition names (temperature, pressure, etc.) and units are all in the standard MusicBox format.MusicBox_output.nc
, but this can be changed in the configuration file.my_output.csv
, you would add this to the my_config.json: