musica 0.9.0__tar.gz → 0.10.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of musica might be problematic. Click here for more details.

Files changed (199) hide show
  1. musica-0.10.0/.github/workflows/close_stale_issues.yml +24 -0
  2. musica-0.9.0/.github/workflows/pep8.yml → musica-0.10.0/.github/workflows/format-python.yml +1 -1
  3. {musica-0.9.0 → musica-0.10.0}/.github/workflows/mac.yml +1 -17
  4. musica-0.9.0/.github/workflows/pip.yml → musica-0.10.0/.github/workflows/python-tests.yml +1 -1
  5. {musica-0.9.0 → musica-0.10.0}/.github/workflows/release.yml +5 -0
  6. {musica-0.9.0 → musica-0.10.0}/.github/workflows/ubuntu.yml +14 -6
  7. {musica-0.9.0 → musica-0.10.0}/.github/workflows/windows.yml +54 -4
  8. {musica-0.9.0 → musica-0.10.0}/CITATION.cff +1 -1
  9. {musica-0.9.0 → musica-0.10.0}/CMakeLists.txt +2 -9
  10. musica-0.10.0/PKG-INFO +314 -0
  11. {musica-0.9.0 → musica-0.10.0}/README.md +1 -1
  12. {musica-0.9.0 → musica-0.10.0}/cmake/dependencies.cmake +20 -18
  13. {musica-0.9.0 → musica-0.10.0}/cmake/musica.settings.in +1 -0
  14. musica-0.10.0/cmake/silence_warnings.cmake +21 -0
  15. {musica-0.9.0 → musica-0.10.0}/cmake/summary.cmake +2 -0
  16. {musica-0.9.0 → musica-0.10.0}/cmake/test_util.cmake +4 -0
  17. musica-0.10.0/configs/v1/chapman/config.json +192 -0
  18. musica-0.10.0/configs/v1/chapman/config.yaml +104 -0
  19. musica-0.10.0/configs/v1/full_configuration.json +392 -0
  20. musica-0.10.0/configs/v1/full_configuration.yaml +247 -0
  21. {musica-0.9.0 → musica-0.10.0}/docs/CMakeLists.txt +0 -2
  22. {musica-0.9.0 → musica-0.10.0}/docs/source/conf.py +2 -2
  23. {musica-0.9.0 → musica-0.10.0}/docs/source/getting_started/overview.rst +2 -2
  24. {musica-0.9.0 → musica-0.10.0}/docs/source/index.rst +2 -8
  25. musica-0.9.0/docs/source/user_guide/model_interface.rst → musica-0.10.0/docs/source/user_guide/configurations.rst +1 -1
  26. musica-0.10.0/docs/source/user_guide/index.rst +17 -0
  27. {musica-0.9.0 → musica-0.10.0}/fortran/CMakeLists.txt +14 -14
  28. musica-0.10.0/fortran/micm/CMakeLists.txt +4 -0
  29. {musica-0.9.0/fortran → musica-0.10.0/fortran/micm}/micm.F90 +4 -4
  30. {musica-0.9.0 → musica-0.10.0}/fortran/packaging/CMakeLists.txt +1 -3
  31. {musica-0.9.0 → musica-0.10.0}/fortran/test/fetch_content_integration/test_micm_api.F90 +128 -2
  32. {musica-0.9.0 → musica-0.10.0}/fortran/test/fetch_content_integration/test_tuvx_api.F90 +1 -1
  33. {musica-0.9.0 → musica-0.10.0}/fortran/test/unit/util.F90 +37 -6
  34. {musica-0.9.0 → musica-0.10.0}/fortran/tuvx/grid.F90 +1 -1
  35. {musica-0.9.0 → musica-0.10.0}/fortran/tuvx/grid_map.F90 +1 -1
  36. {musica-0.9.0 → musica-0.10.0}/fortran/tuvx/profile.F90 +1 -1
  37. {musica-0.9.0 → musica-0.10.0}/fortran/tuvx/profile_map.F90 +1 -1
  38. {musica-0.9.0 → musica-0.10.0}/fortran/tuvx/radiator.F90 +1 -1
  39. {musica-0.9.0 → musica-0.10.0}/fortran/tuvx/radiator_map.F90 +1 -1
  40. {musica-0.9.0 → musica-0.10.0}/fortran/tuvx/tuvx.F90 +1 -1
  41. {musica-0.9.0 → musica-0.10.0}/fortran/util.F90 +60 -9
  42. {musica-0.9.0 → musica-0.10.0}/include/musica/component_versions.hpp +1 -1
  43. musica-0.10.0/include/musica/error.hpp +13 -0
  44. musica-0.10.0/include/musica/micm/chemistry.hpp +13 -0
  45. {musica-0.9.0/include/musica → musica-0.10.0/include/musica/micm}/micm.hpp +79 -49
  46. musica-0.10.0/include/musica/micm/parse.hpp +19 -0
  47. musica-0.10.0/include/musica/micm/state.hpp +97 -0
  48. {musica-0.9.0 → musica-0.10.0}/include/musica/tuvx/grid.hpp +1 -1
  49. {musica-0.9.0 → musica-0.10.0}/include/musica/tuvx/grid_map.hpp +1 -1
  50. {musica-0.9.0 → musica-0.10.0}/include/musica/tuvx/profile.hpp +1 -1
  51. {musica-0.9.0 → musica-0.10.0}/include/musica/tuvx/profile_map.hpp +1 -1
  52. {musica-0.9.0 → musica-0.10.0}/include/musica/tuvx/radiator.hpp +1 -1
  53. {musica-0.9.0 → musica-0.10.0}/include/musica/tuvx/radiator_map.hpp +1 -1
  54. {musica-0.9.0 → musica-0.10.0}/include/musica/tuvx/tuvx.hpp +1 -1
  55. {musica-0.9.0 → musica-0.10.0}/include/musica/util.hpp +23 -9
  56. {musica-0.9.0 → musica-0.10.0}/include/musica/version.hpp +1 -1
  57. {musica-0.9.0 → musica-0.10.0}/pyproject.toml +8 -3
  58. musica-0.10.0/python/CMakeLists.txt +42 -0
  59. {musica-0.9.0 → musica-0.10.0}/python/test/test_analytical.py +118 -120
  60. musica-0.10.0/python/test/test_chapman.py +64 -0
  61. musica-0.10.0/python/wrapper.cpp +121 -0
  62. {musica-0.9.0 → musica-0.10.0}/src/CMakeLists.txt +30 -11
  63. {musica-0.9.0 → musica-0.10.0}/src/component_versions.cpp +1 -1
  64. musica-0.10.0/src/micm/CMakeLists.txt +9 -0
  65. musica-0.10.0/src/micm/micm.cpp +421 -0
  66. musica-0.10.0/src/micm/parse.cpp +60 -0
  67. musica-0.10.0/src/micm/state.cpp +141 -0
  68. musica-0.10.0/src/micm/v0_parse.cpp +287 -0
  69. musica-0.10.0/src/micm/v1_parse.cpp +344 -0
  70. {musica-0.9.0 → musica-0.10.0}/src/packaging/CMakeLists.txt +8 -33
  71. {musica-0.9.0 → musica-0.10.0}/src/test/unit/CMakeLists.txt +1 -0
  72. {musica-0.9.0 → musica-0.10.0}/src/test/unit/micm/CMakeLists.txt +1 -1
  73. {musica-0.9.0 → musica-0.10.0}/src/test/unit/micm/micm_c_api.cpp +144 -140
  74. musica-0.10.0/src/test/unit/micm/micm_wrapper.cpp +101 -0
  75. musica-0.10.0/src/test/unit/parser.cpp +31 -0
  76. musica-0.10.0/src/test/unit/util.cpp +309 -0
  77. {musica-0.9.0 → musica-0.10.0}/src/tuvx/grid.cpp +1 -1
  78. {musica-0.9.0 → musica-0.10.0}/src/tuvx/grid_map.cpp +1 -1
  79. {musica-0.9.0 → musica-0.10.0}/src/tuvx/interface.F90 +1 -1
  80. {musica-0.9.0 → musica-0.10.0}/src/tuvx/interface_grid.F90 +1 -1
  81. {musica-0.9.0 → musica-0.10.0}/src/tuvx/interface_grid_map.F90 +1 -1
  82. {musica-0.9.0 → musica-0.10.0}/src/tuvx/interface_profile.F90 +1 -1
  83. {musica-0.9.0 → musica-0.10.0}/src/tuvx/interface_profile_map.F90 +1 -1
  84. {musica-0.9.0 → musica-0.10.0}/src/tuvx/interface_radiator.F90 +1 -1
  85. {musica-0.9.0 → musica-0.10.0}/src/tuvx/interface_radiator_map.F90 +1 -1
  86. {musica-0.9.0 → musica-0.10.0}/src/tuvx/interface_util.F90 +1 -1
  87. {musica-0.9.0 → musica-0.10.0}/src/tuvx/profile.cpp +1 -1
  88. {musica-0.9.0 → musica-0.10.0}/src/tuvx/profile_map.cpp +1 -1
  89. {musica-0.9.0 → musica-0.10.0}/src/tuvx/radiator.cpp +1 -1
  90. {musica-0.9.0 → musica-0.10.0}/src/tuvx/radiator_map.cpp +1 -1
  91. {musica-0.9.0 → musica-0.10.0}/src/tuvx/tuvx.cpp +1 -1
  92. {musica-0.9.0 → musica-0.10.0}/src/util.cpp +57 -13
  93. musica-0.9.0/PKG-INFO +0 -314
  94. musica-0.9.0/docs/source/user_guide/user_guide.rst +0 -9
  95. musica-0.9.0/python/CMakeLists.txt +0 -56
  96. musica-0.9.0/python/test/test_chapman.py +0 -64
  97. musica-0.9.0/python/wrapper.cpp +0 -207
  98. musica-0.9.0/src/micm/CMakeLists.txt +0 -5
  99. musica-0.9.0/src/micm/micm.cpp +0 -477
  100. musica-0.9.0/src/test/unit/micm/micm.cpp +0 -12
  101. musica-0.9.0/src/test/unit/util.cpp +0 -173
  102. {musica-0.9.0 → musica-0.10.0}/.clang-format +0 -0
  103. {musica-0.9.0 → musica-0.10.0}/.clang-tidy +0 -0
  104. {musica-0.9.0 → musica-0.10.0}/.dockerignore +0 -0
  105. {musica-0.9.0 → musica-0.10.0}/.github/workflows/clang_format.yml +0 -0
  106. {musica-0.9.0 → musica-0.10.0}/.github/workflows/clang_tidy.yml +0 -0
  107. {musica-0.9.0 → musica-0.10.0}/.github/workflows/docker.yml +0 -0
  108. {musica-0.9.0 → musica-0.10.0}/.github/workflows/fetch_content_integration.yml +0 -0
  109. {musica-0.9.0 → musica-0.10.0}/.github/workflows/gh_pages.yml +0 -0
  110. {musica-0.9.0 → musica-0.10.0}/.gitignore +0 -0
  111. {musica-0.9.0 → musica-0.10.0}/LICENSE +0 -0
  112. {musica-0.9.0 → musica-0.10.0}/cmake/FindSphinx.cmake +0 -0
  113. {musica-0.9.0 → musica-0.10.0}/cmake/SetDefaults.cmake +0 -0
  114. {musica-0.9.0 → musica-0.10.0}/cmake/cmake_uninstall.cmake.in +0 -0
  115. {musica-0.9.0 → musica-0.10.0}/cmake/musicaConfig.cmake.in +0 -0
  116. {musica-0.9.0 → musica-0.10.0}/configs/TS1/config.json +0 -0
  117. {musica-0.9.0 → musica-0.10.0}/configs/TS1/initial_conditions.csv +0 -0
  118. {musica-0.9.0 → musica-0.10.0}/configs/TS1/reactions.json +0 -0
  119. {musica-0.9.0 → musica-0.10.0}/configs/TS1/species.json +0 -0
  120. {musica-0.9.0 → musica-0.10.0}/configs/analytical/config.json +0 -0
  121. {musica-0.9.0 → musica-0.10.0}/configs/analytical/reactions.json +0 -0
  122. {musica-0.9.0 → musica-0.10.0}/configs/analytical/species.json +0 -0
  123. {musica-0.9.0 → musica-0.10.0}/configs/carbon_bond_5/config.json +0 -0
  124. {musica-0.9.0 → musica-0.10.0}/configs/carbon_bond_5/initial_conditions.csv +0 -0
  125. {musica-0.9.0 → musica-0.10.0}/configs/carbon_bond_5/reactions.json +0 -0
  126. {musica-0.9.0 → musica-0.10.0}/configs/carbon_bond_5/species.json +0 -0
  127. {musica-0.9.0 → musica-0.10.0}/configs/chapman/config.json +0 -0
  128. {musica-0.9.0 → musica-0.10.0}/configs/chapman/initial_conditions.csv +0 -0
  129. {musica-0.9.0 → musica-0.10.0}/configs/chapman/reactions.json +0 -0
  130. {musica-0.9.0 → musica-0.10.0}/configs/chapman/species.json +0 -0
  131. {musica-0.9.0 → musica-0.10.0}/configs/robertson/config.json +0 -0
  132. {musica-0.9.0 → musica-0.10.0}/configs/robertson/initial_conditions.csv +0 -0
  133. {musica-0.9.0 → musica-0.10.0}/configs/robertson/reactions.json +0 -0
  134. {musica-0.9.0 → musica-0.10.0}/configs/robertson/species.json +0 -0
  135. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile +0 -0
  136. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.docs +0 -0
  137. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.fortran-gcc +0 -0
  138. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.fortran-gcc.integration +0 -0
  139. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.fortran-intel +0 -0
  140. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.fortran-nvhpc +0 -0
  141. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.memcheck +0 -0
  142. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.mpi +0 -0
  143. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.mpi_openmp +0 -0
  144. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.openmp +0 -0
  145. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.pip +0 -0
  146. {musica-0.9.0 → musica-0.10.0}/docker/Dockerfile.python +0 -0
  147. {musica-0.9.0 → musica-0.10.0}/docs/Makefile +0 -0
  148. {musica-0.9.0 → musica-0.10.0}/docs/Software Development Plan.pdf +0 -0
  149. {musica-0.9.0 → musica-0.10.0}/docs/make.bat +0 -0
  150. {musica-0.9.0 → musica-0.10.0}/docs/requirements.txt +0 -0
  151. {musica-0.9.0 → musica-0.10.0}/docs/source/_static/custom.css +0 -0
  152. {musica-0.9.0 → musica-0.10.0}/docs/source/_static/favicon/favicon.ico +0 -0
  153. {musica-0.9.0 → musica-0.10.0}/docs/source/_static/index_api.svg +0 -0
  154. {musica-0.9.0 → musica-0.10.0}/docs/source/_static/index_contribute.svg +0 -0
  155. {musica-0.9.0 → musica-0.10.0}/docs/source/_static/index_getting_started.svg +0 -0
  156. {musica-0.9.0 → musica-0.10.0}/docs/source/_static/index_user_guide.svg +0 -0
  157. {musica-0.9.0 → musica-0.10.0}/docs/source/api/index.rst +0 -0
  158. {musica-0.9.0 → musica-0.10.0}/docs/source/contributing/index.rst +0 -0
  159. {musica-0.9.0 → musica-0.10.0}/docs/source/getting_started/getting_started.rst +0 -0
  160. {musica-0.9.0 → musica-0.10.0}/docs/source/getting_started/installation.rst +0 -0
  161. {musica-0.9.0 → musica-0.10.0}/docs/source/references.bib +0 -0
  162. {musica-0.9.0 → musica-0.10.0}/docs/source/tutorial/chapter0.rst +0 -0
  163. {musica-0.9.0 → musica-0.10.0}/docs/source/tutorial/chapter1.rst +0 -0
  164. {musica-0.9.0 → musica-0.10.0}/docs/source/tutorial/chapter2.rst +0 -0
  165. {musica-0.9.0 → musica-0.10.0}/docs/source/tutorial/tutorial.rst +0 -0
  166. {musica-0.9.0 → musica-0.10.0}/docs/source/user_guide/fortran_c.rst +0 -0
  167. {musica-0.9.0 → musica-0.10.0}/fortran/test/CMakeLists.txt +0 -0
  168. {musica-0.9.0 → musica-0.10.0}/fortran/test/fetch_content_integration/CMakeLists.txt +0 -0
  169. {musica-0.9.0 → musica-0.10.0}/fortran/test/fetch_content_integration/test_get_micm_version.F90 +0 -0
  170. {musica-0.9.0 → musica-0.10.0}/fortran/test/fetch_content_integration/test_micm_box_model.F90 +0 -0
  171. {musica-0.9.0 → musica-0.10.0}/fortran/test/tutorial/CMakeLists.txt +0 -0
  172. {musica-0.9.0 → musica-0.10.0}/fortran/test/tutorial/demo.F90 +0 -0
  173. {musica-0.9.0 → musica-0.10.0}/fortran/test/unit/CMakeLists.txt +0 -0
  174. {musica-0.9.0 → musica-0.10.0}/fortran/test/unit/tuvx.F90 +0 -0
  175. {musica-0.9.0 → musica-0.10.0}/fortran/test/unit/tuvx_mpi.F90 +0 -0
  176. {musica-0.9.0 → musica-0.10.0}/fortran/test/unit/tuvx_openmp.F90 +0 -0
  177. {musica-0.9.0 → musica-0.10.0}/fortran/tuvx/CMakeLists.txt +0 -0
  178. {musica-0.9.0 → musica-0.10.0}/python/test/tuvx.py +0 -0
  179. {musica-0.9.0 → musica-0.10.0}/src/packaging/modulefile.lua.in +0 -0
  180. {musica-0.9.0 → musica-0.10.0}/src/test/CMakeLists.txt +0 -0
  181. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/fixed/O2_cross_section.nc +0 -0
  182. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/fixed/O2_parameters.txt +0 -0
  183. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/fixed/bar_cross_section.nc +0 -0
  184. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/fixed/config.json +0 -0
  185. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/fixed/foo_cross_section.nc +0 -0
  186. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/fixed/stand_alone_tuvx_config.json +0 -0
  187. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/from_host/O2_cross_section.nc +0 -0
  188. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/from_host/O2_parameters.txt +0 -0
  189. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/from_host/bar_cross_section.nc +0 -0
  190. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/from_host/config.json +0 -0
  191. {musica-0.9.0 → musica-0.10.0}/src/test/data/tuvx/from_host/foo_cross_section.nc +0 -0
  192. {musica-0.9.0 → musica-0.10.0}/src/test/data/util_index_mapping_from_file.json +0 -0
  193. {musica-0.9.0 → musica-0.10.0}/src/test/unit/component_versions.cpp +0 -0
  194. {musica-0.9.0 → musica-0.10.0}/src/test/unit/tuvx/CMakeLists.txt +0 -0
  195. {musica-0.9.0 → musica-0.10.0}/src/test/unit/tuvx/tuvx_c_api.cpp +0 -0
  196. {musica-0.9.0 → musica-0.10.0}/src/test/unit/tuvx/tuvx_run_from_config.cpp +0 -0
  197. {musica-0.9.0 → musica-0.10.0}/src/tuvx/CMakeLists.txt +0 -0
  198. {musica-0.9.0 → musica-0.10.0}/src/version.cpp.in +0 -0
  199. {musica-0.9.0 → musica-0.10.0}/valgrind.supp +0 -0
@@ -0,0 +1,24 @@
1
+ name: 'Close stale issues'
2
+ on:
3
+ schedule:
4
+ # Run every day at 7PM UTC
5
+ - cron: '0 19 * * *'
6
+ jobs:
7
+ close-stale:
8
+ permissions:
9
+ issues: write
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/stale@v9
13
+ with:
14
+ stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
15
+ close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
16
+ days-before-stale: 180 # Mark as stale after 180 days of inactivity
17
+ days-before-close: 14 # Close issue if no activity after 14 days of being stale
18
+ days-before-pr-close: -1
19
+ # Issues with this label are exempt from being checked if they are stale...
20
+ exempt-issue-labels: Low Priority
21
+ # Below are currently defaults, but given in case we decide to change
22
+ operations-per-run: 30 # This setting specifies the maximum number of operations (such as marking issues as stale or closing them) that the action will perform in a single run
23
+ stale-issue-label: Stale # This setting defines the label that will be applied to issues that are considered stale
24
+ close-issue-reason: not_planned # This setting specifies the reason that will be given when closing stale issues
@@ -1,4 +1,4 @@
1
- name: Pep8
1
+ name: Format python
2
2
 
3
3
  on:
4
4
  push:
@@ -39,7 +39,6 @@ jobs:
39
39
  - run: pip install numpy --user
40
40
 
41
41
  - name: Run Cmake
42
- if: matrix.compiler.cpp != 'g++-13'
43
42
  run: |
44
43
  PYTHON_PATH=$(which python)
45
44
  cmake -S . -B build \
@@ -49,23 +48,8 @@ jobs:
49
48
  -D MUSICA_ENABLE_PYTHON_LIBRARY=ON \
50
49
  -D Python3_EXECUTABLE=$PYTHON_PATH
51
50
 
52
- - name: Run Cmake
53
- if: matrix.compiler.cpp == 'g++-13'
54
- run: |
55
- PYTHON_PATH=$(which python)
56
- # for some reason gcc 13 was having issues finding the correct osx sdk
57
- # it seems it was a known issue: https://github.com/actions/runner-images/issues/9997
58
- # for some reason, passing in an empty string for the osx sysroot fixed the issue
59
- cmake -S . -B build \
60
- -D CMAKE_CXX_FLAGS=-Wl,-ld_classic \
61
- -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} \
62
- -D MUSICA_GIT_TAG=${{ github.sha }} \
63
- -D MUSICA_ENABLE_PYTHON_LIBRARY=ON \
64
- -D Python3_EXECUTABLE=$PYTHON_PATH \
65
- -D CMAKE_OSX_SYSROOT=""
66
-
67
51
  - name: Build
68
- run: cmake --build build --verbose --parallel 10
52
+ run: cmake --build build --verbose
69
53
 
70
54
  - name: Run tests
71
55
  run: |
@@ -1,4 +1,4 @@
1
- name: Pip
1
+ name: Python tests
2
2
 
3
3
  on:
4
4
  push:
@@ -1,6 +1,10 @@
1
1
  name: Publish Python Package
2
2
 
3
3
  on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
4
8
  workflow_dispatch:
5
9
  release:
6
10
  types:
@@ -63,6 +67,7 @@ jobs:
63
67
  upload_all:
64
68
  name: Upload release
65
69
  needs: [build_wheels, build_sdist]
70
+ if: github.event_name == 'release' && github.event.action == 'published'
66
71
  runs-on: ubuntu-latest
67
72
  environment:
68
73
  name: pypi
@@ -41,24 +41,28 @@ jobs:
41
41
  sudo apt-get install -y python3-numpy
42
42
 
43
43
  - name: Run Cmake
44
- # TUV-x doesn't work with gcc 13
45
- if: matrix.compiler.fc != 'gfortran-13' && matrix.options.tuvx != 'ON'
46
44
  run: |
47
45
  cmake -S . -B build -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} \
48
46
  -D MUSICA_GIT_TAG=${{ github.sha }} \
49
47
  -D MUSICA_ENABLE_MICM=${{ matrix.options.micm }} \
50
48
  -D MUSICA_ENABLE_TUVX=${{ matrix.options.tuvx }} \
51
- -D MUSICA_ENABLE_PYTHON_LIBRARY=${{ matrix.options.python }}
49
+ -D MUSICA_ENABLE_PYTHON_LIBRARY=${{ matrix.options.python }} \
50
+ -D CMAKE_POLICY_VERSION_MINIMUM=3.5
52
51
 
53
52
  - name: Build
54
- if: matrix.compiler.fc != 'gfortran-13' && matrix.options.tuvx != 'ON'
55
53
  run: cmake --build build --verbose
54
+
55
+ - name: List the built files
56
+ run: |
57
+ cd build
58
+ ls -l
59
+ ls -l lib
56
60
 
57
61
  - name: Run tests
58
- if: matrix.compiler.fc != 'gfortran-13' && matrix.options.tuvx != 'ON'
59
62
  run: |
60
63
  cd build
61
64
  ctest -C ${{ matrix.build_type }} --rerun-failed --output-on-failure . --verbose
65
+
62
66
  fortran:
63
67
  runs-on: ubuntu-24.04
64
68
  continue-on-error: true
@@ -80,7 +84,11 @@ jobs:
80
84
  sudo apt-get install -y libnetcdf-dev netcdf-bin libnetcdff-dev liblapack-dev libblas-dev
81
85
 
82
86
  - name: Run Cmake
83
- run: cmake -S . -B build -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} -D MUSICA_GIT_TAG=${{ github.sha }} -D MUSICA_BUILD_FORTRAN_INTERFACE=ON
87
+ run: |
88
+ cmake -S . -B build -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} \
89
+ -D MUSICA_GIT_TAG=${{ github.sha }} \
90
+ -D MUSICA_BUILD_FORTRAN_INTERFACE=ON \
91
+ -D CMAKE_POLICY_VERSION_MINIMUM=3.5
84
92
 
85
93
  - name: Build
86
94
  run: cmake --build build --verbose --parallel 1
@@ -30,7 +30,7 @@ jobs:
30
30
  - run: pip install numpy
31
31
 
32
32
  - name: Run Cmake
33
- run: cmake -S . -B build -G "MinGW Makefiles" -D MUSICA_GIT_TAG=${{ github.sha }} -D MUSICA_ENABLE_TUVX=OFF -D MUSICA_ENABLE_PYTHON_LIBRARY=ON
33
+ run: cmake -S . -B build -G "MinGW Makefiles" -D MUSICA_GIT_TAG=${{ github.sha }} -D MUSICA_ENABLE_TUVX=OFF -D MUSICA_ENABLE_PYTHON_LIBRARY=ON -D CMAKE_POLICY_VERSION_MINIMUM=3.5
34
34
 
35
35
  - name: Build
36
36
  run: cmake --build build --parallel
@@ -61,7 +61,7 @@ jobs:
61
61
  - run: pip install numpy
62
62
 
63
63
  - name: Run CMake
64
- run: cmake -S . -B build -G "Visual Studio 17 2022" -A ${{ matrix.architecture }} -D MUSICA_GIT_TAG=${{ github.sha }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -D MUSICA_ENABLE_TUVX=OFF -D MUSICA_ENABLE_PYTHON_LIBRARY=ON
64
+ run: cmake -S . -B build -G "Visual Studio 17 2022" -A ${{ matrix.architecture }} -D MUSICA_GIT_TAG=${{ github.sha }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -D MUSICA_ENABLE_TUVX=OFF -D MUSICA_ENABLE_PYTHON_LIBRARY=ON -D CMAKE_POLICY_VERSION_MINIMUM=3.5
65
65
 
66
66
  - name: Build
67
67
  run: cmake --build build --config ${{ matrix.build_type }} --parallel
@@ -86,7 +86,7 @@ jobs:
86
86
  - run: pip install numpy
87
87
 
88
88
  - name: Run CMake
89
- run: cmake -S . -B build -DCMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -DCMAKE_C_COMPILER="C:/Program Files/LLVM/bin/clang.exe" -G"MinGW Makefiles" -D MUSICA_GIT_TAG=${{ github.sha }} -D MUSICA_ENABLE_TUVX=OFF -D MUSICA_ENABLE_PYTHON_LIBRARY=ON
89
+ run: cmake -S . -B build -DCMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -DCMAKE_C_COMPILER="C:/Program Files/LLVM/bin/clang.exe" -G"MinGW Makefiles" -D MUSICA_GIT_TAG=${{ github.sha }} -D MUSICA_ENABLE_TUVX=OFF -D MUSICA_ENABLE_PYTHON_LIBRARY=ON -D CMAKE_POLICY_VERSION_MINIMUM=3.5
90
90
 
91
91
  - name: Build
92
92
  run: cmake --build build --parallel
@@ -115,10 +115,60 @@ jobs:
115
115
  - run: pip install numpy
116
116
 
117
117
  - name: Run CMake
118
- run: cmake -S . -B build -G "Visual Studio 16 2019" -A ${{ matrix.architecture }} -T ClangCL -D MUSICA_GIT_TAG=${{ github.sha }} -D MUSICA_ENABLE_TUVX=OFF -D MUSICA_ENABLE_PYTHON_LIBRARY=ON
118
+ run: cmake -S . -B build -G "Visual Studio 16 2019" -A ${{ matrix.architecture }} -T ClangCL -D MUSICA_GIT_TAG=${{ github.sha }} -D MUSICA_ENABLE_TUVX=OFF -D MUSICA_ENABLE_PYTHON_LIBRARY=ON -D CMAKE_POLICY_VERSION_MINIMUM=3.5
119
119
 
120
120
  - name: Build
121
121
  run: cmake --build build --config Debug --parallel
122
122
 
123
123
  - name: Test
124
124
  run: cd build ; ctest -C Debug --output-on-failure --verbose
125
+
126
+ fortran:
127
+ runs-on: windows-latest
128
+ strategy:
129
+ fail-fast: false
130
+ matrix:
131
+ build_type: [Debug, Release]
132
+
133
+ steps:
134
+ - name: Checkout code
135
+ uses: actions/checkout@v4
136
+
137
+ - name: Setup MSYS2
138
+ uses: msys2/setup-msys2@v2
139
+ with:
140
+ update: true
141
+ install: >-
142
+ base-devel
143
+ mingw-w64-x86_64-toolchain
144
+ mingw-w64-x86_64-gcc
145
+ mingw-w64-x86_64-gcc-fortran
146
+ mingw-w64-x86_64-cmake
147
+ mingw-w64-x86_64-netcdf
148
+ mingw-w64-x86_64-netcdf-fortran
149
+ msystem: MINGW64
150
+
151
+ - name: Add MSYS2 mingw64 to PATH
152
+ shell: msys2 {0}
153
+ run: echo "C:/msys64/mingw64/bin" >> $GITHUB_PATH
154
+
155
+ - name: Configure with CMake
156
+ shell: msys2 {0}
157
+ run: |
158
+ cmake -S . -B build -G "MinGW Makefiles" \
159
+ -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} \
160
+ -D MUSICA_GIT_TAG=${{ github.sha }} \
161
+ -D MUSICA_ENABLE_MICM=ON \
162
+ -D MUSICA_ENABLE_TUVX=ON \
163
+ -D MUSICA_ENABLE_PYTHON_LIBRARY=ON \
164
+ -D MUSICA_BUILD_FORTRAN_INTERFACE=ON \
165
+ -D CMAKE_POLICY_VERSION_MINIMUM=3.5
166
+
167
+ - name: Build the project
168
+ shell: msys2 {0}
169
+ run: cmake --build build --verbose
170
+
171
+ - name: Run tests
172
+ shell: msys2 {0}
173
+ run: ctest -C ${{ matrix.build_type }} --rerun-failed --output-on-failure . --verbose
174
+ working-directory: build
@@ -64,4 +64,4 @@ number: 10
64
64
  page: "E1743 - E1760"
65
65
  doi: "10.1175/BAMS-D-19-0331.1"
66
66
  url: "https://journals.ametsoc.org/view/journals/bams/101/10/bamsD190331.xml"
67
- version: 0.9.0
67
+ version: 0.10.0
@@ -1,7 +1,7 @@
1
1
  cmake_minimum_required(VERSION 3.21)
2
2
 
3
3
  # must be on the same line so that pyproject.toml can correctly identify the version
4
- project(musica-distribution VERSION 0.9.0)
4
+ project(musica-distribution VERSION 0.10.0)
5
5
 
6
6
  set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH};${PROJECT_SOURCE_DIR}/cmake)
7
7
  set(CMAKE_USER_MAKE_RULES_OVERRIDE ${CMAKE_MODULE_PATH}/SetDefaults.cmake)
@@ -29,6 +29,7 @@ option(MUSICA_ENABLE_MEMCHECK "Enable memory checking" OFF)
29
29
  option(MUSICA_BUILD_DOCS "Build the documentation" OFF)
30
30
  option(MUSICA_ENABLE_MICM "Enable MICM" ON)
31
31
  option(MUSICA_ENABLE_TUVX "Enable TUV-x" ON)
32
+ option(MUSICA_ENABLE_PIC "Build the library with position independent code" OFF)
32
33
 
33
34
  set(MUSICA_SET_MICM_VECTOR_MATRIX_SIZE "4" CACHE STRING "Set MICM vector-ordered matrix dimension")
34
35
 
@@ -45,19 +46,11 @@ if(MUSICA_CREATE_ENVIRONMENT_MODULE)
45
46
  endif()
46
47
  endif()
47
48
 
48
- # shared libraries are required for python, but for some reason setting
49
- # BUILD_SHARED_LIBS to ON doesn't work on windows
50
- if (MUSICA_ENABLE_PYTHON_LIBRARY AND NOT WIN32)
51
- message(STATUS "Python requires shared libraries to be built. Enabling shared libraries.")
52
- set(BUILD_SHARED_LIBS ON)
53
- endif()
54
-
55
49
  ################################################################################
56
50
  # Projet wide setup variables
57
51
  set(MUSICA_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_INCLUDEDIR})
58
52
  set(MUSICA_MOD_DIR ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_INCLUDEDIR})
59
53
  set(MUSICA_LIB_DIR ${PROJECT_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR})
60
- set(MUSICA_FORTRAN_SRC_DIR ${PROJECT_SOURCE_DIR}/fortran)
61
54
  set(MUSICA_PROJECT_SRC_DIR ${PROJECT_SOURCE_DIR})
62
55
 
63
56
  set(musica_compile_definitions "")
musica-0.10.0/PKG-INFO ADDED
@@ -0,0 +1,314 @@
1
+ Metadata-Version: 2.2
2
+ Name: musica
3
+ Version: 0.10.0
4
+ Summary: MUSICA is a Python library for performing computational simulations in atmospheric chemistry.
5
+ Author-Email: Matthew Dawsom <mattdawson@ucar.edu>, Jiwon Gim <jiwongim@ucar.edu>, David Fillmore <fillmore@ucar.edu>, Kyle Shores <kshores@ucar.edu>, Montek Thind <mthind@ucar.edu>
6
+ Maintainer-Email: ACOM MUSICA Developers <musica-support@ucar.edu>
7
+ License: Apache License
8
+ Version 2.0, January 2004
9
+ http://www.apache.org/licenses/
10
+
11
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
12
+
13
+ 1. Definitions.
14
+
15
+ "License" shall mean the terms and conditions for use, reproduction,
16
+ and distribution as defined by Sections 1 through 9 of this document.
17
+
18
+ "Licensor" shall mean the copyright owner or entity authorized by
19
+ the copyright owner that is granting the License.
20
+
21
+ "Legal Entity" shall mean the union of the acting entity and all
22
+ other entities that control, are controlled by, or are under common
23
+ control with that entity. For the purposes of this definition,
24
+ "control" means (i) the power, direct or indirect, to cause the
25
+ direction or management of such entity, whether by contract or
26
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
27
+ outstanding shares, or (iii) beneficial ownership of such entity.
28
+
29
+ "You" (or "Your") shall mean an individual or Legal Entity
30
+ exercising permissions granted by this License.
31
+
32
+ "Source" form shall mean the preferred form for making modifications,
33
+ including but not limited to software source code, documentation
34
+ source, and configuration files.
35
+
36
+ "Object" form shall mean any form resulting from mechanical
37
+ transformation or translation of a Source form, including but
38
+ not limited to compiled object code, generated documentation,
39
+ and conversions to other media types.
40
+
41
+ "Work" shall mean the work of authorship, whether in Source or
42
+ Object form, made available under the License, as indicated by a
43
+ copyright notice that is included in or attached to the work
44
+ (an example is provided in the Appendix below).
45
+
46
+ "Derivative Works" shall mean any work, whether in Source or Object
47
+ form, that is based on (or derived from) the Work and for which the
48
+ editorial revisions, annotations, elaborations, or other modifications
49
+ represent, as a whole, an original work of authorship. For the purposes
50
+ of this License, Derivative Works shall not include works that remain
51
+ separable from, or merely link (or bind by name) to the interfaces of,
52
+ the Work and Derivative Works thereof.
53
+
54
+ "Contribution" shall mean any work of authorship, including
55
+ the original version of the Work and any modifications or additions
56
+ to that Work or Derivative Works thereof, that is intentionally
57
+ submitted to Licensor for inclusion in the Work by the copyright owner
58
+ or by an individual or Legal Entity authorized to submit on behalf of
59
+ the copyright owner. For the purposes of this definition, "submitted"
60
+ means any form of electronic, verbal, or written communication sent
61
+ to the Licensor or its representatives, including but not limited to
62
+ communication on electronic mailing lists, source code control systems,
63
+ and issue tracking systems that are managed by, or on behalf of, the
64
+ Licensor for the purpose of discussing and improving the Work, but
65
+ excluding communication that is conspicuously marked or otherwise
66
+ designated in writing by the copyright owner as "Not a Contribution."
67
+
68
+ "Contributor" shall mean Licensor and any individual or Legal Entity
69
+ on behalf of whom a Contribution has been received by Licensor and
70
+ subsequently incorporated within the Work.
71
+
72
+ 2. Grant of Copyright License. Subject to the terms and conditions of
73
+ this License, each Contributor hereby grants to You a perpetual,
74
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
+ copyright license to reproduce, prepare Derivative Works of,
76
+ publicly display, publicly perform, sublicense, and distribute the
77
+ Work and such Derivative Works in Source or Object form.
78
+
79
+ 3. Grant of Patent License. Subject to the terms and conditions of
80
+ this License, each Contributor hereby grants to You a perpetual,
81
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
82
+ (except as stated in this section) patent license to make, have made,
83
+ use, offer to sell, sell, import, and otherwise transfer the Work,
84
+ where such license applies only to those patent claims licensable
85
+ by such Contributor that are necessarily infringed by their
86
+ Contribution(s) alone or by combination of their Contribution(s)
87
+ with the Work to which such Contribution(s) was submitted. If You
88
+ institute patent litigation against any entity (including a
89
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
90
+ or a Contribution incorporated within the Work constitutes direct
91
+ or contributory patent infringement, then any patent licenses
92
+ granted to You under this License for that Work shall terminate
93
+ as of the date such litigation is filed.
94
+
95
+ 4. Redistribution. You may reproduce and distribute copies of the
96
+ Work or Derivative Works thereof in any medium, with or without
97
+ modifications, and in Source or Object form, provided that You
98
+ meet the following conditions:
99
+
100
+ (a) You must give any other recipients of the Work or
101
+ Derivative Works a copy of this License; and
102
+
103
+ (b) You must cause any modified files to carry prominent notices
104
+ stating that You changed the files; and
105
+
106
+ (c) You must retain, in the Source form of any Derivative Works
107
+ that You distribute, all copyright, patent, trademark, and
108
+ attribution notices from the Source form of the Work,
109
+ excluding those notices that do not pertain to any part of
110
+ the Derivative Works; and
111
+
112
+ (d) If the Work includes a "NOTICE" text file as part of its
113
+ distribution, then any Derivative Works that You distribute must
114
+ include a readable copy of the attribution notices contained
115
+ within such NOTICE file, excluding those notices that do not
116
+ pertain to any part of the Derivative Works, in at least one
117
+ of the following places: within a NOTICE text file distributed
118
+ as part of the Derivative Works; within the Source form or
119
+ documentation, if provided along with the Derivative Works; or,
120
+ within a display generated by the Derivative Works, if and
121
+ wherever such third-party notices normally appear. The contents
122
+ of the NOTICE file are for informational purposes only and
123
+ do not modify the License. You may add Your own attribution
124
+ notices within Derivative Works that You distribute, alongside
125
+ or as an addendum to the NOTICE text from the Work, provided
126
+ that such additional attribution notices cannot be construed
127
+ as modifying the License.
128
+
129
+ You may add Your own copyright statement to Your modifications and
130
+ may provide additional or different license terms and conditions
131
+ for use, reproduction, or distribution of Your modifications, or
132
+ for any such Derivative Works as a whole, provided Your use,
133
+ reproduction, and distribution of the Work otherwise complies with
134
+ the conditions stated in this License.
135
+
136
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
137
+ any Contribution intentionally submitted for inclusion in the Work
138
+ by You to the Licensor shall be under the terms and conditions of
139
+ this License, without any additional terms or conditions.
140
+ Notwithstanding the above, nothing herein shall supersede or modify
141
+ the terms of any separate license agreement you may have executed
142
+ with Licensor regarding such Contributions.
143
+
144
+ 6. Trademarks. This License does not grant permission to use the trade
145
+ names, trademarks, service marks, or product names of the Licensor,
146
+ except as required for reasonable and customary use in describing the
147
+ origin of the Work and reproducing the content of the NOTICE file.
148
+
149
+ 7. Disclaimer of Warranty. Unless required by applicable law or
150
+ agreed to in writing, Licensor provides the Work (and each
151
+ Contributor provides its Contributions) on an "AS IS" BASIS,
152
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
153
+ implied, including, without limitation, any warranties or conditions
154
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
155
+ PARTICULAR PURPOSE. You are solely responsible for determining the
156
+ appropriateness of using or redistributing the Work and assume any
157
+ risks associated with Your exercise of permissions under this License.
158
+
159
+ 8. Limitation of Liability. In no event and under no legal theory,
160
+ whether in tort (including negligence), contract, or otherwise,
161
+ unless required by applicable law (such as deliberate and grossly
162
+ negligent acts) or agreed to in writing, shall any Contributor be
163
+ liable to You for damages, including any direct, indirect, special,
164
+ incidental, or consequential damages of any character arising as a
165
+ result of this License or out of the use or inability to use the
166
+ Work (including but not limited to damages for loss of goodwill,
167
+ work stoppage, computer failure or malfunction, or any and all
168
+ other commercial damages or losses), even if such Contributor
169
+ has been advised of the possibility of such damages.
170
+
171
+ 9. Accepting Warranty or Additional Liability. While redistributing
172
+ the Work or Derivative Works thereof, You may choose to offer,
173
+ and charge a fee for, acceptance of support, warranty, indemnity,
174
+ or other liability obligations and/or rights consistent with this
175
+ License. However, in accepting such obligations, You may act only
176
+ on Your own behalf and on Your sole responsibility, not on behalf
177
+ of any other Contributor, and only if You agree to indemnify,
178
+ defend, and hold each Contributor harmless for any liability
179
+ incurred by, or claims asserted against, such Contributor by reason
180
+ of your accepting any such warranty or additional liability.
181
+
182
+ END OF TERMS AND CONDITIONS
183
+
184
+ APPENDIX: How to apply the Apache License to your work.
185
+
186
+ To apply the Apache License to your work, attach the following
187
+ boilerplate notice, with the fields enclosed by brackets "[]"
188
+ replaced with your own identifying information. (Don't include
189
+ the brackets!) The text should be enclosed in the appropriate
190
+ comment syntax for the file format. We also recommend that a
191
+ file or class name and description of purpose be included on the
192
+ same "printed page" as the copyright notice for easier
193
+ identification within third-party archives.
194
+
195
+ Copyright [yyyy] [name of copyright owner]
196
+
197
+ Licensed under the Apache License, Version 2.0 (the "License");
198
+ you may not use this file except in compliance with the License.
199
+ You may obtain a copy of the License at
200
+
201
+ http://www.apache.org/licenses/LICENSE-2.0
202
+
203
+ Unless required by applicable law or agreed to in writing, software
204
+ distributed under the License is distributed on an "AS IS" BASIS,
205
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
206
+ See the License for the specific language governing permissions and
207
+ limitations under the License.
208
+
209
+ Project-URL: homepage, https://wiki.ucar.edu/display/MUSICA/MUSICA+Home
210
+ Provides-Extra: test
211
+ Requires-Dist: numpy; extra == "test"
212
+ Description-Content-Type: text/markdown
213
+
214
+ # MUSICA
215
+ [![GitHub Releases](https://img.shields.io/github/release/NCAR/musica.svg)](https://github.com/NCAR/musica/releases)
216
+ [![License](https://img.shields.io/github/license/NCAR/musica.svg)](https://github.com/NCAR/musica/blob/main/LICENSE)
217
+ [![docker](https://github.com/NCAR/musica/actions/workflows/docker.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/docker.yml)
218
+ [![macOS](https://github.com/NCAR/musica/actions/workflows/mac.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/mac.yml)
219
+ [![ubuntu](https://github.com/NCAR/musica/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/ubuntu.yml)
220
+ [![windows](https://github.com/NCAR/musica/actions/workflows/windows.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/windows.yml)
221
+ [![Python tests](https://github.com/NCAR/musica/actions/workflows/python-tests.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/python-tests.yml)
222
+ [![DOI](https://zenodo.org/badge/550370528.svg)](https://zenodo.org/doi/10.5281/zenodo.7458559)
223
+ [![PyPI version](https://badge.fury.io/py/musica.svg)](https://pypi.org/p/musica)
224
+ [![FAIR checklist badge](https://fairsoftwarechecklist.net/badge.svg)](https://fairsoftwarechecklist.net/v0.2?f=31&a=32113&i=22322&r=123)
225
+
226
+ Multi-Scale Infrastructure for Chemistry and Aerosols
227
+
228
+ MUSICA is a collection of modeling software, tools, and grids, that
229
+ allow for robust modeling of chemistry in Earth's atmosphere.
230
+
231
+ At present the project encompasses these components
232
+ - [TUV-x](https://github.com/NCAR/tuv-x)
233
+ - A photolysis rate calculator
234
+
235
+ - [MICM](https://github.com/NCAR/micm)
236
+ - Model Independent Chemical Module
237
+
238
+ ## Available grids
239
+
240
+ Pre-made grids for use in MUSICA are available [here](https://wiki.ucar.edu/display/MUSICA/Available+Grids).
241
+
242
+ # Contributors guide
243
+ Checkout our [software development plan](docs/Software%20Development%20Plan.pdf)
244
+ to see how you can contribute new science to MUSICA software.
245
+
246
+ ## Developer Options
247
+
248
+ ### Specifying dependency versions via paramaterization at configure time
249
+
250
+ Introduced in [Pull Request #124](https://github.com/NCAR/musica/pull/124), it is possible for developers to specify which versions of various dependencies should be used. These options are currently limited to those dependencies managed via `FetchContent`. This change allows for more easily testing `musica` against changes committed in different repositories and branches. The environmental variables introduced are outlined in the following table.
251
+
252
+ #### CMake Dependency Variables
253
+
254
+ | Musica Dependency | Repository | Branch, Tag or Hash|
255
+ | ------------------------------------------------------ | --------------------------|--------------------|
256
+ | [Google Test](https://github.com/google/googletest.git)| GOOGLETEST_GIT_REPOSITORY | GOOGLETEST_GIT_TAG |
257
+ | [MICM](https://github.com/NCAR/mcim.git) | MICM_GIT_REPOSITORY | MICM_GIT_TAG |
258
+ | [TUV-X](https://github.com/NCAR/tuv-x.git) | TUVX_GIT_REPOSITORY | TUVX_GIT_TAG |
259
+ | [PyBind11](https://github.com/pybind/pybind11) | PYBIND11_GIT_REPOSITORY | PYBIND11_GIT_TAG |
260
+
261
+ #### Example Usage
262
+
263
+ > The following examples assume the working directory is a `build/` directory inside the `musica` source directory.
264
+
265
+ Specifying a different version of `tuv-x`, to ensure a change won't break anything.
266
+
267
+ $ cmake .. \
268
+ -DTUVX_GIT_REPOSITORY="https://github.com/WardF/tuv-x.git" \
269
+ -DTUVX_GIT_TAG=test-fix
270
+
271
+ Specifying a specific version of `tuv-x` by has, but using the official repository.
272
+
273
+ $ cmake .. \
274
+ -DTUVX_GIT_TAG=a6b2c4d8745
275
+
276
+
277
+ ## Citing MUSICA
278
+
279
+ MUSICA can be cited in at least two ways. The first is to cite [the paper](https://doi.org/10.1175/BAMS-D-19-0331.1) that defines the vision
280
+ of the MUSICA software. The bibtex entry below can be used to generate a citaiton for this.
281
+
282
+ ```
283
+ @Article { acom.software.musica-vision,
284
+ author = "Gabriele G. Pfister and Sebastian D. Eastham and Avelino F. Arellano and Bernard Aumont and Kelley C. Barsanti and Mary C. Barth and Andrew Conley and Nicholas A. Davis and Louisa K. Emmons and Jerome D. Fast and Arlene M. Fiore and Benjamin Gaubert and Steve Goldhaber and Claire Granier and Georg A. Grell and Marc Guevara and Daven K. Henze and Alma Hodzic and Xiaohong Liu and Daniel R. Marsh and John J. Orlando and John M. C. Plane and Lorenzo M. Polvani and Karen H. Rosenlof and Allison L. Steiner and Daniel J. Jacob and Guy P. Brasseur",
285
+ title = "The Multi-Scale Infrastructure for Chemistry and Aerosols (MUSICA)",
286
+ journal = "Bulletin of the American Meteorological Society",
287
+ year = "2020",
288
+ publisher = "American Meteorological Society",
289
+ address = "Boston MA, USA",
290
+ volume = "101",
291
+ number = "10",
292
+ doi = "10.1175/BAMS-D-19-0331.1",
293
+ pages= "E1743 - E1760",
294
+ url = "https://journals.ametsoc.org/view/journals/bams/101/10/bamsD190331.xml"
295
+ }
296
+ ```
297
+
298
+ At present MUSICA is on version zero. MUSICAv0 can be cited using the bibtex entry below.
299
+ MUSICAv0 description and evaluation:
300
+
301
+ ```
302
+ @Article{acom.software.musica,
303
+ author = {Schwantes, Rebecca H. and Lacey, Forrest G. and Tilmes, Simone and Emmons, Louisa K. and Lauritzen, Peter H. and Walters, Stacy and Callaghan, Patrick and Zarzycki, Colin M. and Barth, Mary C. and Jo, Duseong S. and Bacmeister, Julio T. and Neale, Richard B. and Vitt, Francis and Kluzek, Erik and Roozitalab, Behrooz and Hall, Samuel R. and Ullmann, Kirk and Warneke, Carsten and Peischl, Jeff and Pollack, Ilana B. and Flocke, Frank and Wolfe, Glenn M. and Hanisco, Thomas F. and Keutsch, Frank N. and Kaiser, Jennifer and Bui, Thao Paul V. and Jimenez, Jose L. and Campuzano-Jost, Pedro and Apel, Eric C. and Hornbrook, Rebecca S. and Hills, Alan J. and Yuan, Bin and Wisthaler, Armin},
304
+ title = {Evaluating the Impact of Chemical Complexity and Horizontal Resolution on Tropospheric Ozone Over the Conterminous US With a Global Variable Resolution Chemistry Model},
305
+ journal = {Journal of Advances in Modeling Earth Systems},
306
+ volume = {14},
307
+ number = {6},
308
+ pages = {e2021MS002889},
309
+ doi = {https://doi.org/10.1029/2021MS002889},
310
+ url = {https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/2021MS002889},
311
+ eprint = {https://agupubs.onlinelibrary.wiley.com/doi/pdf/10.1029/2021MS002889},
312
+ year = {2022}
313
+ }
314
+ ```
@@ -5,7 +5,7 @@
5
5
  [![macOS](https://github.com/NCAR/musica/actions/workflows/mac.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/mac.yml)
6
6
  [![ubuntu](https://github.com/NCAR/musica/actions/workflows/ubuntu.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/ubuntu.yml)
7
7
  [![windows](https://github.com/NCAR/musica/actions/workflows/windows.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/windows.yml)
8
- [![pip](https://github.com/NCAR/musica/actions/workflows/pip.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/pip.yml)
8
+ [![Python tests](https://github.com/NCAR/musica/actions/workflows/python-tests.yml/badge.svg)](https://github.com/NCAR/musica/actions/workflows/python-tests.yml)
9
9
  [![DOI](https://zenodo.org/badge/550370528.svg)](https://zenodo.org/doi/10.5281/zenodo.7458559)
10
10
  [![PyPI version](https://badge.fury.io/py/musica.svg)](https://pypi.org/p/musica)
11
11
  [![FAIR checklist badge](https://fairsoftwarechecklist.net/badge.svg)](https://fairsoftwarechecklist.net/v0.2?f=31&a=32113&i=22322&r=123)