polartoolkit

Helpful tools for polar researchers

MIT License

Downloads
421
Stars
21
Committers
7

Bot releases are hidden (Show)

polartoolkit - v0.3.0 Latest Release

Published by mdtanker 8 months ago

v0.3.0 (2024-02-18)

Build

  • build(deps): bump pre-commit/action from 3.0.0 to 3.0.1

Bumps pre-commit/action from 3.0.0 to 3.0.1.


updated-dependencies:

  • dependency-name: pre-commit/action
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] <[email protected]> (31715fe)

  • build(deps): bump codecov/codecov-action from 3.1.5 to 4.0.1

Bumps codecov/codecov-action from 3.1.5 to 4.0.1.


updated-dependencies:

  • dependency-name: codecov/codecov-action
    dependency-type: direct:production
    update-type: version-update:semver-major
    ...

Signed-off-by: dependabot[bot] <[email protected]> (69679aa)

  • build(deps): bump actions/checkout from 3 to 4

Bumps actions/checkout from 3 to 4.


updated-dependencies:

  • dependency-name: actions/checkout
    dependency-type: direct:production
    update-type: version-update:semver-major
    ...

Signed-off-by: dependabot[bot] <[email protected]> (e67349b)

  • build: update dependabot config (5544a8b)

  • build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5

Bumps codecov/codecov-action from 3.1.4 to 3.1.5.


updated-dependencies:

  • dependency-name: codecov/codecov-action
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] <[email protected]> (9c43e68)

  • build: add requests to deps (15ea6e8)

  • build: switch GHA from hynek to build and twine (91c6ca9)

  • build: explicitly include packages (a76a0e9)

Chore

  • chore: automatically updating changelog [skip ci] (a42dc7d)

  • chore: ignore auto update changelog commits in changelog (01a092e)

  • chore: automatically updating changelog [skip ci] (2dc310f)

  • chore: automatically updating changelog [skip ci] (efa34a2)

  • chore: mark test mass change as issue (a3bde43)

  • chore: add issue marker to imagery and basal melt fetches (95bce69)

  • chore: make fig an arg of plot_grd (e762a5a)

  • chore: add kwarg arg to add_scalebar (df374ba)

  • chore: specify args in functions (9febc0e)

  • chore: automatically updating changelog [skip ci] (c4c3eae)

  • chore: automatically updating changelog [skip ci] (248525e)

  • chore: remove dependa-bot commits from changelog (44a322c)

  • chore: automatically updating changelog [skip ci] (208dbd4)

  • chore: automatically updating changelog [skip ci] (3edbaeb)

  • chore: fix _static path warning (257f6e7)

  • chore: automatically updating changelog [skip ci] (5dd0a40)

  • chore: automatically updating changelog [skip ci] (8f92bcb)

  • chore: automatically updating changelog [skip ci] (d200e9a)

  • chore: add skip ci to changelog commit message (6b665ae)

  • chore: update changelog an main pushes (2dca0fc)

  • chore: editing workflows (a059f50)

  • chore: collect usage stats (b5d16ac)

Documentation

  • docs: update RTD links to polartoolkit (e5376b3)

  • docs: fix disclaimer (8075024)

  • docs: re-run all docs (0776879)

  • docs: add pygmt and pip to RTD.env (9a8ae51)

  • docs: back to conda for RTD (d2a4c1f)

  • docs: switch RTD from mamba to python (aeab560)

  • docs: switch RTD from conda to pip (18cf7fb)

  • docs: update RTD env and instructions (f142c6d)

  • docs: remove JOSS folder (dc0a421)

  • docs: add .bib and enable sphinxcontrib-bibtex (bf90dc0)

  • docs: add paper template for JOSS (22feca3)

Feature

  • feat: add plotting geomap faults function (3e87e60)

  • feat: add cmap arg to points of plot_grd (f4fc948)

  • feat: add basemap imagery option to plot_grd (b7ad2ee)

  • feat: make default scalebar have white box (3c879d5)

  • feat: add water thickness layer to bedmap2 fetch (8f26e46)

  • feat: add / update pre-defined regions (4ce3d8d)

Style

polartoolkit - v0.2.1

Published by mdtanker 9 months ago

v0.2.1 (2024-01-29)

Build

  • build: add antarctic_plots package for import warning (bb4c134)

  • build: add lower version limit to PyGMT (4f3a837)

Documentation

  • docs: clicking on logo directs to homepage (841e9e5)

  • docs: rerun notebooks (eb5e47d)

  • docs: update binder env, links, and codecov link (4854853)

Fix

  • fix: add "+ue" unit to regions in meters for lat long projections (fa67b53)

  • fix: fixes lines between layers in cross-sections (7eaaf64)

  • fix: fix pandas copy warning (48ce7a7)

Style

  • style: line too long (51e0143)

  • style: spelling and formatting (a7347ba)

  • style: spelling mistakes (4c29294)

  • style: ignore binder env file in pre-commit (9aa1c30)

polartoolkit - v0.2.0

Published by mdtanker 9 months ago

v0.2.0 (2024-01-26)

Breaking

  • refactor: force a major version bump.

BREAKING CHANGE: (cc2ecda)

Build

  • build(deps): bump hynek/build-and-inspect-python-package from 1 to 2

Bumps hynek/build-and-inspect-python-package from 1 to 2.


updated-dependencies:

  • dependency-name: hynek/build-and-inspect-python-package
    dependency-type: direct:production
    update-type: version-update:semver-major
    ...

Signed-off-by: dependabot[bot] <[email protected]> (62c0385)

  • build(deps): bump actions/download-artifact from 3 to 4

Bumps actions/download-artifact from 3 to 4.


updated-dependencies:

  • dependency-name: actions/download-artifact
    dependency-type: direct:production
    update-type: version-update:semver-major
    ...

Signed-off-by: dependabot[bot] <[email protected]> (d577c09)

  • build(deps): bump actions/setup-python from 4 to 5

Bumps actions/setup-python from 4 to 5.


updated-dependencies:

  • dependency-name: actions/setup-python
    dependency-type: direct:production
    update-type: version-update:semver-major
    ...

Signed-off-by: dependabot[bot] <[email protected]> (ba46d15)

Chore

Documentation

  • docs: update descriptions to not only focus on Antarctica (b08a509)

  • docs: add favicon and dark and light logos (77f9835)

  • docs: add logo to docs (c26f850)

  • docs: fix changelog template (31083e3)

Style

polartoolkit - v0.1.0

Published by mdtanker 10 months ago

v0.1.0 (2023-12-10)

Build

  • build(deps): bump conda-incubator/setup-miniconda from 2 to 3

Bumps conda-incubator/setup-miniconda from 2 to 3.


updated-dependencies:

  • dependency-name: conda-incubator/setup-miniconda
    dependency-type: direct:production
    update-type: version-update:semver-major
    ...

Signed-off-by: dependabot[bot] <[email protected]> (aa2f220)

  • build: fix path to docs (4bbbd96)

  • build: add ipython to interactive deps (4c706ad)

  • build: remove isort required import (a82ea7a)

  • build: add jupyterlab to dev deps (b370b6f)

  • build: configure pytest (6c7f351)

  • build: update pyproject.toml deps and info (5653436)

  • build: update env folder (9a4fa68)

  • build: update github actions (a1c5644)

Chore

  • chore: reduce sig figs of fetch tests (15e5c3d)

  • chore: match test env to pyproject (155f1cf)

  • chore: switch python 3.8 to 3.9 for CI testing (1a17424)

  • chore: exclude some tests for CI (ac535d9)

  • chore: update binder env and links (fe80114)

  • chore: type checking fixes (6ec45e1)

  • chore: update changelog template (1418eb8)

  • chore: add refactor to changelog template (8738126)

  • chore: add mypy to dev deps (8102792)

  • chore: add mypy make command (ed80102)

  • chore: add run_notebook make command (1272361)

  • chore: add types-request to mypy (6e14d17)

  • chore: ignore contrib guide in pre-commit (be24667)

  • chore: remove RTD mock imports (80d6d0f)

  • chore: remove dynamic version (53f018b)

  • chore: update license notice file (c51b7b1)

  • chore: add changelog template (855691e)

  • chore: update project urls (4cf10f8)

  • chore: switches version management system

changes from setuptools_scm to python-semantic-release (46df13d)

  • chore: add pylint config (91dfa92)

  • chore: add ruff config (5688ab9)

  • chore: add mypy config (cd1805b)

  • chore: move regions to src (c22281f)

  • chore: move utils to src (39e477d)

  • chore: move profile to src (0c6a014)

  • chore: move maps to src (e2e561d)

  • chore: move fetch to src (5a915b6)

  • chore: move init to src (d3f229f)

  • chore: remove test init (a381570)

  • chore: add github/matchers file (99ed168)

  • chore: pre-commit ignore .github files (ffb36c9)

  • chore: add noxfile (6cac09d)

  • chore: update makefile (d619207)

  • chore: add pre-commit config (8c33642)

  • chore: update gitignore (5912c52)

  • chore: move tests outside src (e7b30e9)

Documentation

  • docs: update notebooks (7851e53)

  • docs: rerun gallery examples (3c6f4c0)

  • docs: rerun tutorials (e61324a)

  • docs: update cover_fig (1377bf0)

  • docs: fixes small issues (e8339ed)

  • docs: add/fix all docstrings (7c670d9)

  • docs: setup nbgallery for docs (48f061a)

  • docs: update contrib guide (69663f9)

  • docs: update README and index (fea2b09)

  • docs: remove notebook output files (4a8c78b)

  • docs: add module descriptions to overview (92edec5)

  • docs: pin RTD python version (f25810d)

  • docs: move changelog (50c5439)

  • docs: add citing, overview, references (f27a893)

  • docs: rename tutorials.md (5134420)

  • docs: rename gallery.md (4371781)

  • docs: update api docs with template (116f06e)

  • docs: rename install file (4b97d66)

  • docs: switch docs theme (c1a5d5a)

  • docs: move contrib guide (d4e47ca)

  • docs: combine index and readme (1f4bfc1)

  • docs: change RTD config (e17be26)

Feature

  • feat: add grd2cpt and shading to profile map (2440c27)

  • feat: add spacing option to default layers (69d72f4)

  • feat: add lake vostok region (69b5ff6)

  • feat: pass scalebar kwargs to plot_grd (e733241)

  • feat: add get_fetches function (b0312c2)

Fix

  • fix: change default layer names in profile (801611f)

  • fix: avoid resampling default layers for profile (1f75666)

  • fix: warning for resampling default layers (543fe60)

  • fix: issue with plot_grd cpt_lims (548da1d)

  • fix: fixing self imports (3e806df)

  • fix: switch module import style (c61552a)

  • fix: fixing typing cast (0405ad3)

  • fix: specify kwargs to shorten function (acaf8d9)

  • fix: increase default colorbar font size (fc86e93)

  • fix: various fixes to fetch.py

leftover fixes after refactoring code to pass new formatting / linting / type checking procedures (4da7fc1)

  • fix: various fixes to maps.py

leftover fixes after refactoring code to pass new formatting / linting / type checking procedures (6b7b25c)

  • fix: various fixes to utils.py

leftover fixes after refactoring code to pass new formatting / linting / type checking procedures (02d105d)

  • fix: various fixes to profile.py

leftover fixes after refactoring code to pass new formatting / linting / type checking procedures (aa43a85)

  • fix: various fixes to regions.py

leftover fixes after refactoring code to pass new formatting / linting / type checking procedures (4f732aa)

  • fix: change default layer pen to black (b2c1e74)

  • fix: change default inset region box to red (627b2bd)

Refactor

  • refactor: fix issues with fetch tests

swaps pytest.approx with DeepDiff, adds ignore RuntimeWarning to many tests. (3b1bf49)

  • refactor: switch regions from lists to tuples (65d7d92)

  • refactor: update optional deps import check (9926a59)

  • refactor: standardize preprocessing calls

increments filename variabls since they change type, and standardizes the format of the preprocessors. (4f5656f)

Style

Unknown

  • formatting (#147) (90302ba)

  • Fixes (#146)

  • update binder link

  • add north_arrow to plot_grd

  • fix histogram error

  • change north arrow default position

  • add get_region function

  • rerun notebook

  • update changelog (12a5299)

  • Dev (#145)

  • update dependencies

  • dont reset coord names, changes reg type

  • add shading kwarg

  • fix subplot function

  • add function for plotting north arrow

  • add box arg to scalebar function

  • add version arg to coast plotting function

  • add coast version to plotting functions

  • add cbar labels arg to plot_3d

  • update plot_3d function

  • add box arg to inset function

  • add offset arg to inset function

  • add frame kwarg to basemap

  • small fixes

  • add frame kwarg to plot_grd function

  • add point fill and pen kwargs to plot_grd

  • specify region in add_colorbar of plot_grd

  • change cbar hist y offset from 3 to 2 cm

  • add orientation kwarg to cbar function

  • add text location arg to cbar function

  • add frame args to cbar function

  • add cmap kwarg to cbar function

  • add scale arg to cbar function

  • add font size arg to cbar funcion

  • add fix for plotting cbar hist with subplots

  • fix cbar issues

  • add verbose, interpolation kwargs to sample_grids

  • add axes arg to make_data_dict

  • add reference kwarg to default_layers

  • use make_data_dict for default_data

  • add reference kwarg to default layers

  • update plot_profile function

  • update plot_data function

  • add pd.copy() statements

  • revert RMSE to mean, add option for median

  • change col name used in points_inside_region

  • fix issue with using mask_from_shp with tifs

  • add label offset kward to grd_compare

  • fix test_IBCSO_coverage

  • fix test_ROSETTA_gravity

  • add fetch for Smith et al. 2020 ice mass change

  • add fetch call for Adusumilli basal melt

  • add fetch call for geomap data

  • update bedmachine to v3

  • minor fixes

  • use harmonica to convert admap geosoft grid

  • use github source for burton-johnson GHF points

  • update fetch ROSETTA gravity

  • add fetch call for ROSETTA magnetics data

  • fetch imports

  • minor fixes

  • formatting

  • update instructions for dependency updates

  • add harmonica to env_test.yml

  • update binder environment

  • update changelog

  • update maxradius arg name

  • fail CI with errors (c962e56)

  • General maintenance (#141)

  • add robust keyword

  • drop spatial_dim during masking

  • only resample grd_compare grids if different

  • add robust to mapping funcs

  • edit cpt lims of plot_grd

  • edit colorbar hist

  • formatting (95ad63c)

  • Drop 3.8 support, fix admap1 url (#140)

  • adding back fetch tests

  • drop python 3.8 support

  • use major versions in test.yml

  • new admap1 url

  • add previously excluded tests

  • catch attribute error in get_grd_info() (30ea5aa)

  • update when GitHub Action tests occur (#139) (d8c821e)

  • Update test.yml (#137) (f1249f0)

polartoolkit - v0.0.6

Published by mdtanker over 1 year ago

Release v0.0.6

💫 Highlights

  • Switched from Poetry to Setuptools
  • Can install with conda
  • Eased the dependecy constraints

⛔ Maintenance

  • renamed various util functions

🧑‍🤝‍🧑 Contributors

@mdtanker

polartoolkit - v0.0.4

Published by mdtanker about 2 years ago

What's Changed

Full Changelog: https://github.com/mdtanker/antarctic_plots/compare/v0.0.3...v0.0.4

polartoolkit - v0.0.3

Published by mdtanker about 2 years ago

💫 Highlights

Finally succeeded in building the docs!

📖 Documentation

Added make build-docs to execute and overwrite .ipynb to use in docs, since PyGMT can't be included in dependencies and therefore RTD's can't execute the .ipynb's.

⛔ Maintenance

Closed https://github.com/mdtanker/antarctic_plots/issues/7

🧑‍🤝‍🧑 Contributors

Matt Tankersley

polartoolkit - v0.0.1

Published by mdtanker over 2 years ago

First release of Antarctic-plots: Functions to automate Antarctic data visualization.

Main functions:

  • fetch common Antarctic datasets
    • Bedmap2 layers
    • LIMA imagery
    • Grounding lines and coastlines
    • DeepBedMap
    • Gravity anomalies
    • Magnetic anomalies
    • Ross Ice Shelf basement depths
  • create profiles defined by 2 coordinates or a shapefile
  • plot cross-sections, and data profiles
  • plot profile location map, with customizable map background
  • various useful functions
    • converting between lat long and EPSG3031
    • generate region strings for GMT
    • mask grids from shapefiles
    • automate pygmt plotting

This release contains contributions from:
Matt Tankersley