Python toolkit for GEOS-Chem. Contains basic plotting scripts, plus the suite of GEOS-Chem benchmarking utilities.
OTHER License
The pip install geoschem-gcpy
command (as described on ReadTheDocs) is broken due to the xesmf 0.5.1
package having been de-listed from the Python Package Index (PyPi). For the time being, users should follow the manual installation instructions. See issue #326 for more information.
gcpy/benchmark/modules/benchmark_utils.py
, with common benchmark utility functionsgcpy/benchmark/modules/benchmark_drydep.py
, with code to create drydep velocity plotsplot_drydep
in gcpy/benchmark/config/*.yml
filesbuild-gcpy-environment
GitHub Action in README.md
docs/source/index.rst
./release/changeVersionNumbers.sh
, used to update version numbers in various files before releasedocs/environment_files/read_the_docs_environment.yml
, for building ReadTheDocs documentationdocs/environment_files/gcpy_requirements.txt
and docs/environment_files/read_the_docs_requirements.txt
gcpy/benchmark/modules/benchmark_models_vs_sondes.py
rename_speciesconc_to_speciesconcvv
in gcpy/benchmark/modules/benchmark_utils.py
copy_file_to_dir
in gcpy/util.py
. This is a wrapper for shutil.copyfile
..github/workflows/stale.yml
, which replaces StaleBotgcpy/community/format_hemco_data.py
from @hannahnessergcpy/examples/hemco/format_hemco_demo.py
from @hannahnessergcpy/benchmark/modules/emission_species.yml
and GTChlorine to gcpy/benchmark/modules/emission_inventories.yml
for GEOS-Chem 14.4.0gcpy/examples/working_with_files/make_mask_file.py
replace_whitespace
in gcpy/util.py
gcpy/benchmark/modules/benchmark_scrape_gcclassic_timers.py
gcpy/benchmark/modules/benchmark_scrape_gchp_timers.py
gcc_vs_gcc_dirs
, gchp_vs_gcc_dirs
, gchp_vs_gchp_dirs
, and get_log_filepaths
in gcpy/benchmark/modules/benchmark_utils.py
gcpy/benchmark/modules/benchmark_mass_cons_table.py
, with code to create mass conservation tablesget_datetimes_from_filenames
in gcpy/benchmark/modules/benchmark_utils.py
replace_whitespace
in gcpy/util.py
operations_budget
is now ops_budget_table
in gcpy/benchmark/config/1yr_tt_benchmark.yml
matplotlib=3.8.0
in docs/environment_files/environment.yml
(with other pegged versions)stale
GitHub action at 00:00 UTC on the 1st of each monthdocs/environment_files/environment.yml
to gcpy_environment.yml
environment.yml
links to docs/environment_files/gcpy_environment.yml
requirements.txt
links to docs/environment_files/requirements.txt
docs/environment_files/environment.yml
benchmark_model_vs_obs.py
now uses grid inquiry functions from grid.py
to return data nearest to a (lat,lon) locationget_geoschem_level_metadata
to gcpy/benchmark/modules/benchmark_utils.py
get_vert_grid.py
(in gcpy/grid.py
) to accept the p_sfc
argument; Also never-nested the if-block logic.benchmark_slurm.sh
script now saves output to a log file with the same base name as the YAML config filebenchmark_models_vs_obs.py
now reads the observational data paths and metadata from 1yr_fullchem_benchmark.yml
gcpy/
to gcpy/benchmark/modules/
rename_speciesconc_to_speciesconcvv
copy_file_to_dir
to copy the benchmark script and configuration file to the benchmark results foldersstale.yml
with new issue/PR labels that should not go stalegcpy/cstools.py
now work properly for xr.Dataset
and xr.DataArray
objectsseaborn-v0_8-darkgrid
ingcpy/benchmark/modules/benchmark_models_vs_obs.py
gcpy/file_regrid.py
now creates GCHP files with DELP_DRY
instead of DELPDRY
gcpy/examples/diagnostics/compare_diags.py
n_cores
to gcpy/examples/diagnostics/compare_diags.yml
plot_drydep
option to gcpy/gcpy/benchmark/config/1yr_ch4_benchmark.yml
docs/requirements.txt
symbolic link to docs/environment_files/read_the_docs_requirements.txt
for RTD buildsgcpy/file_regrid.py
now tests if lon_bnds
, lat_bnds
are in the dataset before trying to drop themgcpy/examples/plotting/mda8_o3_timeseries.py
Pylint
GitHub actiondocs/environment_files/environment.yml
docs/environment_files/requirements.txt
awscli
from the GCPy environment; version 2 is no longer available on conda-forge or PyPi.github/stale.yml
and .github/no-response.yml
make_benchmark_mass_conservation_table
in benchmark_funcs.py
; this is now obsoleteFull Changelog: https://github.com/geoschem/gcpy/compare/1.4.2...1.5.0
Published by yantosca 9 months ago
Release date 26 Jan 2024
Full Changelog: https://github.com/geoschem/gcpy/compare/1.4.1...1.4.2
Published by yantosca 11 months ago
Release date 08 Dec 2023
--weightsdir
argument to gcpy/file_regrid.py
Full Changelog: https://github.com/geoschem/gcpy/compare/1.4.0...1.4.1
Published by yantosca 11 months ago
emission_species.yml
species_database.yml
for consistency with GEOS-Chem 14.2.0.github/ISSUE_TEMPLATE/config.yml
file w/ Github issue optionsCONTRIBUTING.md
and SUPPORT.md
, replacing docs/source/Contributing.rst
and docs/source/Report_Request.rst
AUTHORS.txt
as of Apr 2023 (concurrent w/ GEOS-Chem 14.2.0)README.md
.readthedocs.yaml
to configure ReadTheDocs buildsbenchmark/cloud
folderREADME.md
files in gcpy/benchmark
directory structurebenchmark/modules/benchmark_models_vs_obs.py
scriptbenchmark/modules/GC_72_vertical_levels.csv
filemulti_index_lat
keyword to reshape_MAPL_CS
function in gcpy/util.py
emission_species.yml
and benchmark_categories.yml
format_number_for_table
in gcpy/util.py
gcpy/cstools.py
with utility functions for cubed-sphere gridsverify_variable_type
function in gcpy/util.py
format_number_for_table
in util.py
emission_species.yml
options:n_cores
to all benchmark YAML config files__init__.py
files in subfolders of gcpy/gcpy
gcpy/benchmark/modules/*.py
scripts are now chmod 644ENCODING = "UTF-8"
to gcpy/constants.py
from dask.array import Array as DaskArray
in gcpy plot.py
gcpy/benchmark/benchmark_slurm.sh
gcpy/plot/gcpy_plot_style
style sheet for title and label default settingsgcpy/gcpy_plot_style
style sheet for title and label default settingsgcpy/cstools.py
get_ilev_coord
and get_lev_coord
to gcpy/grid.py
tk
package to docs/environment_files/environment.yml
new-feature-or-discussion.md
and question-issue.md
./github/PULL_REQUEST_TEMPLATE.md
README.md
label
argumentbenchmark_categories.yml
, run_1yr_tt_benchmark.py
, and in documentationbenchmark/
have been moved to benchmark/config
print_totals
now prints small and/or large numbers in scientific notationgcpy/emissions_*.yml
filesn_job=config["options"]["n_cores"]
to benchmark plotting routinesbenchmark.py
to benchmark_funcs.py
to remove a name collisiongcpy/benchmark
is now gcpy/gcpy/benchmark
benchmark/modules
is now gcpy/gcpy/benchmark/modules
gcpy/examples
is now gcpy/gcpy/examples
sys.argv
to the main()
routine of run_benchmark.py
, compare_diags.py
docs/environment_files/environment.yml
for MambaForge (also added gridspec
)pypdf
instead of PyPDF2
in plot.py
and util.py
pylint
where possiblesix_plot
into functions (in plot.py
)main()
routine to gcpy/file_regrid.py
; Also added updates suggested by Pylintgcpy/file_regrid.py
; also refactored for clarityRegridding.rst
page; Confirmed that regridding examples work properlyplot_val
to be of type dask.array.Array
in plot.py
routines six_plot
and single_panel
if
statements to turn of Parallel()
commands when n_jobs==1
.gcpy/plot.py
; get defaults from gcpy_plot_style
gcpy/plot.py
has been split up into smaller modules in the gcpy/plot
foldergcpy/regrid.py
plot_single_level
and plot_comparisons
can now accept command-line argumentsplot_single_level.py
, plot_comparisons.py
, compare_diags.py
now handle GCHP restart files properlyMPLBACKEND
environment variableregrid_restart_file.py
create_display_name
now splits on only the first _
in species & diag namesseaborn
plot style names to conform to the latest matplotliblev:positive
and/or ilev:positive
properly in regrid_restart_file.py
and file_regrid.py
lev
coord in file_regrid.py
at netCDF write timegchp_is_pre_13_1
arguments & code from benchmarking routinesis_pre_13_1
tags from *_benchmark.yml
config filesbenchmark_emission_totals.ipynb
, this is obsoletegcpy/benchmark/README
with README.md
gcpy_test_dir
option from examples/diagnostics/compare_diags.*
docs/environment_files/gchp_regridding.yml
environment filegcpy/gcpy/benchmark/plot_driver.sh
Full Changelog: https://github.com/geoschem/gcpy/compare/1.3.3...1.4.0
Published by yantosca over 1 year ago
Full Changelog: https://github.com/geoschem/gcpy/compare/1.3.2...1.3.3
Published by yantosca almost 2 years ago
Release date: 26 Oct 2022
==
instead of =
) in setup.py. This was preventing upload to conda-forge.Published by yantosca almost 2 years ago
Release date 26 Oct 2022
Full Changelog: https://github.com/geoschem/gcpy/compare/1.3.0...1.3.1
Published by yantosca almost 2 years ago
budget_ox.py
; The drydep loss of Ox for GCHP was 12x too highplot_driver.sh
(@yantosca)plot_driver.sh
(@yantosca)Full Changelog: https://github.com/geoschem/gcpy/compare/1.2.0...1.3.0
Published by laestrada over 2 years ago
For installation instructions, please see our GCPy manual at https://gcpy.readthedocs.io.
Published by laestrada about 3 years ago
Published by WilliamDowns over 3 years ago
Published by WilliamDowns over 3 years ago
Published by WilliamDowns over 3 years ago
Published by WilliamDowns almost 4 years ago
This if the first official version of GCPy.
Published by WilliamDowns almost 4 years ago
Published by WilliamDowns about 4 years ago
Published by WilliamDowns about 4 years ago
Published by WilliamDowns over 4 years ago
Published by WilliamDowns over 4 years ago
Published by yantosca over 4 years ago