b4ee934f4e
Merge pull request #67 from L-Zord/fix-sys-version
alphaparrot2026-09-19 15:09:01 -04:00
2cb216885a
Replace sys.version with sys.version_info
Simon2026-09-07 16:47:20 +02:00
f2ff3f84e7
Added some safety checks to prevent SIGFPE errors or complaining in a paper after the fact without having to read docs
Aneesh Abbineni2026-07-09 18:58:50 +05:30
9e2b9cee7d
Re-implement f2py's old compile function as pyburn.f2py_compile; remove restriction against numpy 2.0
Adiv Paradise2024-08-05 18:41:02 -04:00
c69f9825e2
Merge branch 'master' of github.com:alphaparrot/ExoPlaSim
Adiv Paradise2024-08-05 18:26:18 -04:00
41634ef741
Fixed refactorization bug in pyburn that resulted in bad shapes for nlev+1-shaped variables and extra empty time slices in netCDF4 output, and updated cumtrapz function calls to cumulative_trapezoid to comply with scipy 1.14 breaking changes
Adiv Paradise2024-08-05 18:23:49 -04:00
298374bd73
Added documentation note on OpenMPI version compatibility from conda-forge
alphaparrot2024-06-10 14:53:13 -04:00
af780bc2a9
Updated readthedocs config files to use up-to-date versions; swapped out recommonmark for myst and we'll try dropping the jinja2 pin
Adiv Paradise2024-06-09 23:02:53 -04:00
0b907630a9
Updated dependencies; new f2py usage does not work with numpy<1.22 and therefore python<3.8
Adiv Paradise2024-06-09 22:35:25 -04:00
0913306d0e
Added non-CLI function so this can be used within program flow, and made all plotting optional. Also added argparse argument-handling
Adiv Paradise2024-06-09 22:19:14 -04:00
2110287b1c
Plots are now optional; matplotlib will only be imported if they're enabled (off by default)
Adiv Paradise2024-06-09 21:57:00 -04:00
297274439b
Running compile_pyfft or sysconfigure before compiling the model for the first time will now ensure they won't be automatically re-run, and they will call each other the very first time one of them is run
Adiv Paradise2024-06-09 21:32:49 -04:00
f15ab6c358
Missed ensuring that compile_pyfft() will be run on first compilation
Adiv Paradise2024-06-09 21:27:06 -04:00
4018eb3403
Improved fix for loadconfig, and added pyproject.toml
Adiv Paradise2024-06-09 21:17:40 -04:00
8ca405fdf5
Fixed bug with exoplasim.loadconfig() when no gas partial pressure has been explicitly set
Adiv Paradise2024-06-09 19:39:22 -04:00
983e191052
Fixed bug resulting in nspvfilter not being broadcast, and wetsoil will now use spectrum-aware ocean albedo for dark endpoint
Adiv Paradise2024-06-06 22:05:13 -04:00
6db09addd4
wetsoil can no longer be set alongside startemp (it was never supported in the first place), and fixed a bug resulting in time-averaged SW2 albedo being summed not averaged
Adiv Paradise2024-06-05 21:14:58 -04:00
0edd3c2936
Adjusted defaults; we shouldn't be using the physics filter on vanilla Earth (default) configurations
Adiv Paradise2024-05-31 02:28:41 -04:00
480b7160cd
Fixing defaults that got changed in aerosol merge and weren't caught
Adiv Paradise2024-05-30 10:39:32 -04:00
62c4601ec4
Bugfixes; split pyfft compilation into its own function. Updated dependencies to include meson and ninja. Works with OpenMPI 5 and GCC 13
Adiv Paradise2024-05-29 00:55:21 -04:00
9abf8cd008
Move pyfft compilation with f2py from configure.sh to python to ensure same interpreter
Adiv Paradise2024-05-28 00:46:36 -04:00
9ab87bbde1
Remove statement labels from remaining do loops in tpcore
Adiv Paradise2024-05-27 23:19:22 -04:00
d9afd3b908
Tracer modules now also comply with Fortran 2018 deletions
Adiv Paradise2024-05-27 23:17:24 -04:00
aadc35669d
Translated aerocore f77-style do loops to f90-style to avoid fortran2018 syntax deletion, and renamed mpi_info() to ompi_info() to be compliant with MPI4 standard (implemented in OpenMPI 5.0)
Adiv Paradise2024-05-27 22:40:27 -04:00
d5bd60ed30
Merge pull request #14 from maureenjcohen/master
alphaparrot2024-02-20 23:53:28 -05:00
643737d3ff
Merge branch 'alphaparrot:master' into master
Maureen Cohen2024-02-17 12:15:02 +00:00
2385eebaf1
Amended references to sources of haze optical data in documentation
Maureen.Cohen2023-12-06 19:28:45 +00:00
fa4c73b072
Updated haze constants included with package. The backscattering efficiencies have been corrected. There are now two sets of constants available for two stellar spectra (TRAPPIST-1 and Wolf 1061c).
Maureen.Cohen2023-12-06 19:25:35 +00:00
32fca44dc0
Fixed typo in name of image included in tutorial
Maureen.Cohen2023-12-06 19:11:03 +00:00
7075e3e5cb
Added documentation for aerosol module and an example plot for the tutorial
Maureen.Cohen2023-12-06 19:07:02 +00:00
6ff63dc282
Fixes for python versions 3.10+ and reconfiguring after upgrading numpy
alphaparrot2023-10-30 19:41:00 -04:00
fa335dca49
Adjusted defaults, fixed several bugs, and reduced non-debugging diagnostic output from aerocore. Also added docstrings.
Adiv Paradise2023-07-12 01:40:19 -04:00
d9154e2257
Added directory with precomputed haze constants for TRAPPIST-1, Wolf 1061, and GJ 667C for various particle radii
maureenjcohen2023-07-11 15:16:55 +01:00
aa3b5d5d8c
Reverted source in aerocore to level 1 (rather than 30) and commenting of import pyfft in pyburn before merging dust branch into dev branch
maureenjcohen2023-07-11 15:04:15 +01:00
8130b365af
configuration script should now do a better job with f2py and virtual environments
Adiv Paradise2023-06-30 22:29:33 -04:00
d71a5e7e12
Fixed bug where metadata files wouldn't get put in the right folders for .npy and .npz files
Adiv Paradise2023-06-30 22:02:37 -04:00
f6826e5d95
Added outputfaulttolerant mode, which will crash on true run errors, but not crash if the postprocessing step fails.
Adiv Paradise2023-06-30 21:56:36 -04:00
a812e17de3
Adjusted conditionals so gridspace q doesn't get turned on when you turn on aerosols. Spectral q with gridspace aerosols is faster.
maureenjcohen2023-06-15 16:59:04 +01:00
4e55d9abc6
Commented out write statements that make the diagnostics files huge
maureenjcohen2023-06-15 16:57:33 +01:00
dfe1d73262
Merge branch 'master' of github.com:alphaparrot/ExoPlaSim
Adiv Paradise2023-05-21 17:26:35 -04:00
6ad9f4f462
Cosine of solar zenith angle now correctly uses right ascension, which is now computed along with declination and included as an output variable. Obliquity guard rails have been extended to +/- 180 deg and eccentricity guardrails for keplerian orbits are set at 0 and 1
Adiv Paradise2023-05-21 17:24:45 -04:00