A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Recent Releases of polartoolkit

polartoolkit - v0.9.0

v0.9.0 (2025-03-31)

Bug Fixes

  • Add defaults for coordinate conversion output column names (66a649b)

  • If region not specified and subplotting use existing figure region (d7a8b83)

  • More informative errors raised in fetch (a94704c)

  • Pass region to add_inset in 'plot_grd' and 'basemap' (958154c)

  • Subset GHF points by region during fetch (92a41ad)

  • Unnecessary kwargs passed to add_colorbar (b4302c4)

  • Use assumed coordinate names in reprojections (423ddc5)

  • Warn in grd2cpt called for points not grid (9b11476)

Chores

  • Add logging to maps.py (13930be)

  • Automatically updating changelog [skip ci] (acf6dc0)

  • Automatically updating changelog [skip ci] (7e28684)

  • Bump codecov/codecov-action in the actions group (22f4def)

Bumps the actions group with 1 update: codecov/codecov-action.

Updates codecov/codecov-action from 5.3.1 to 5.4.0


updated-dependencies:

  • dependency-name: codecov/codecov-action dependency-type: direct:production

update-type: version-update:semver-minor

dependency-group: actions ...

Signed-off-by: dependabot[bot] [email protected]

Code Style

Documentation

Features

  • Add bedmap3 grids (3bab405)

  • Add padding options and more filter types to 'filter_grid' (425aea8)

  • Add verbose kwarg for 'add_box' and 'add_colorbar' (92a476d)

  • Allow extra x and y shift amounts (5bef9ca)

  • Allow setting number of columns in layers legend in profiles with 'layers_legend_columns' (149fbf7)

  • Allow specifing simple basemap colors and pen (c711274)

  • Allow specifying cbar histogram height with 'cbar_hist_height', independent from 'cbar_yoffset (02ae70d)

  • Allow specifying robust percentiles in various functions (f1b62f1)

Refactoring

  • Bedmap3 as default for profiles (b2fc5d6)

  • Change 'scale_font_color' to 'scalebar_font_color' (18e7b84)

  • Change grd_compare defaults to automatically plot and no inset (9d0041b)

  • Change kwarg 'scale_length_perc' to 'scalebar_length_perc' (4b77be3)

  • Determine y shift amount based on what is being plotted. (901be27)

  • Rename 'inset_pos' to 'inset_position' and remove 'inset_offset' (52a537f)

  • Scalebar and inset length by default relative to shortest dimension (d6acd76)

  • Set title and frames at beginning of plotting (f2131ab)

  • Specify point fill with column name (cd59881)

  • Use 'easting' and 'northing' instead of 'x' and 'y' throughout code (856e054)

  • Use easting and northing for bedmap points (2ce8510)

  • Use easting and northing throughout profiles module (82df4f6)

  • Use measures-v2 groundingline by default instead of depoorter (07ad14b)

  • Use seperate transparency kwarg for frame and grid (d9ca761)

  • Use warnings instead of logging for some cases (2876442)


Detailed Changes: v0.8.1...v0.9.0

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker 28 days ago

polartoolkit - v0.8.1

v0.8.1 (2025-02-19)

Bug Fixes

  • Update from angular to conventional commits to fix deprecation warning (079a5db)

Chores

  • Automatically updating changelog [skip ci] (d1a1030)

  • Automatically updating changelog [skip ci] (be1eb20)

  • Fix some tests (c33aadb)

  • Update python-semantic-release version (80ecf5a)

  • Update semantic release changelog template (ecd6834)

  • Update test marks (3b15338)

  • Wait to deprecate functions till v1.0.0 (ffae0de)

Code Style

Refactoring

  • Add kwargs for legend labels for coasts and points (20c4d0e)

Detailed Changes: v0.8.0...v0.8.1

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker 2 months ago

polartoolkit - v0.8.0

v0.8.0 (2025-02-19)

Bug Fixes

  • Allow many subplot labels (3a130cf)

  • Allow showing all columns for points in interactive data (0692a6b)

  • Allow single geometry in mask_from_shp (c231c77)

  • Fix issue with reprojecting IBCSO coverage data (214bf6f)

  • Fix typos in fetch functions (0b18528)

  • Minor fix in maps (9866e72)

  • Reorder columns in testing reprojection functions (a4d82dd)

  • Update to new fetch gravity function (82d0024)

Build System

  • Unpin unnecessary verde version (c9a5c1d)

Chores

  • Add debugging logs (a88b76f)

  • Add tests for regions module (9a230fc)

  • Add tests to profiles module (52db507)

  • Automatically updating changelog [skip ci] (99c0781)

  • Automatically updating changelog [skip ci] (7dce32c)

  • Automatically updating changelog [skip ci] (667ffd3)

  • Automatically updating changelog [skip ci] (bbae808)

  • Bump codecov/codecov-action in the actions group (f22c19f)

Bumps the actions group with 1 update: codecov/codecov-action.

Updates codecov/codecov-action from 5.1.2 to 5.3.1


updated-dependencies:

  • dependency-name: codecov/codecov-action dependency-type: direct:production

update-type: version-update:semver-minor

dependency-group: actions ...

Signed-off-by: dependabot[bot] [email protected]

  • Bump codecov/codecov-action in the actions group (bcb265a)

Bumps the actions group with 1 update: codecov/codecov-action.

Updates codecov/codecov-action from 5.0.7 to 5.1.2


updated-dependencies:

  • dependency-name: codecov/codecov-action dependency-type: direct:production

update-type: version-update:semver-minor

dependency-group: actions ...

Signed-off-by: dependabot[bot] [email protected]

  • Disable disallow-caps pre-commit to fix issue (3cfe9a8)

  • Fix tests (2453f47)

  • Make command fix (207535a)

  • Mark tests with fetch and earthdata marks (ace576e)

  • Update backup env to v0.7.1 (ef1f621)

  • Update broken fetch tests (8fbe37c)

  • Update pre-commit hooks (1683140)

updates:

Code Style

Continuous Integration

  • Add setuptools to RTD_env to fix issue (ee5178a)

Documentation

  • Fix gravity dataset gallery (123f57e)

  • Fixes to some docstring (aa7017e)

  • Update bedmap points gallery (69fd85d)

  • Update ibcso coverage notebook (d4a8ebb)

  • Update simple map tutorial (269147a)

  • Use new fetch gravity function (281028e)

Features

  • Add add_simple_basemap plotting function (247c3aa)

  • Add filter_grid function for filtering grids, add xrft as dependency (c2b2696)

  • Add nearest_grid_fill for interpolating grids (80d5f10)

  • Add points_inside_shp function (e859569)

  • Add absolute value option and robust percentiles option to get_min_max (490198c)

  • Add cpt_lims kwarg to grd_compare (31e4735)

  • Add fetch for bedmap 2 and 3 point data (7cca1a0)

  • Add ice shelf buttressing dataset to fetch (3e6f8b1)

  • Add kwargs to all fetch calls to pass to resample_grid (9e60600)

  • Add kwargs to pass to resample_grd (0cf71d7)

  • Add range of basemap options (86d2e0d)

  • Add region for getz ice shelf (467f5b8)

  • All cmap for points in basemap (908f04b)

  • Allow both grids and points in get_min_max and get_combined_min_max (290fdc5)

  • Allow choice of vertical reference and cleanup fetch.ibcso (333a373)

  • Allow creation of cmap from point values as well as grids values with new points parameter to set_cmap (fa01f54)

  • Allow resampling during fetching of mass_change and basal_melt (db1f464)

  • Allow setting transparency in basemap (6a18fb8)

  • Allow specifying individual points, reverse_cpt, inset, scalebar for subplots (49e53f9)

  • Allow subplot row and column titles (dad1ce5)

Refactoring

  • Automatically increase vertical shift between plots if using colorbar histogram (0f0820c)

  • Change from variable to version in buttressing and basal_melt to be consistent (56af29d)

  • Check and use pyogrio for reading coastlines (9702e4d)

  • Check if pyogrio is installed and use if it is, warn if its not (576db88)

  • Clean up fetch.ibcso_coverage (41da27f)

  • Combine and simplify reprojection functions (6f3ac05)

  • Drop antgg-update and make other gravity fetches return datasets with elevation and error grids (3be3a83)

  • Remove compression on zarr files for simplicity (8c8dd5b)

  • Setup and use logger instance for polartoolkit (ff1a02a)

  • Update gravity fetch (d67d6b7)

  • Use consistent import of pathlib (2bfd3ef)

  • Use tuples instead of lists where applicable (6bc1f20)


Detailed Changes: v0.7.1...v0.8.0

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker 2 months ago

polartoolkit - v0.7.1

v0.7.1 (2024-12-17)

Bug Fixes

  • Bad link in fetch mass_change (54b67d1)

  • Bug with plot_profile and plot_data (23bde34)

  • Extract previous fig_height for subplots (cb9e93f)

  • Make region parameter of ibcso_coverage options (0064c05)

  • More special cases with square_subplots (466eb56)

  • Raise error if EarthData login doesn't work (1576c00)

  • Raise error if EarthData login fails (4f6762d)

  • Re-add test for deepbedmap (c825e67)

  • Update maps.subplots() to be more user friendly (1f3bc35)

Chores

  • Add tests for fetch groundingline and antarctic_boundaries (ff7d9a2)

  • Automatically updating changelog [skip ci] (b0050bf)

  • Automatically updating changelog [skip ci] (9ac6d3a)

  • Clean up .py license headers (4853222)

  • Dev install with environment.yml (74b9afd)

  • Remove codespell ignore-regrex (6b6affc)

  • Remove unused raps and coherency functions (315f562)

  • Update backup yml (a8f7809)

  • Update run docs commands (533dd69)

Code Style

Documentation

  • Update and rerun all docs ipynb (0e8e6eb)

  • Update install instructions (c2e9845)

Refactoring

  • Change default vertical origin shift to down instead of up (e3a9e3c)

  • Need to specify ais or gris in fetch.mass_change (26ae3d6)

  • Reduce default cbar y offset (04cd3ed)

  • Reduce default number of cbar histogram bins (75543fb)

  • Remove matplotlib plotting options, and matplotib and seaborn dependencies (b0458c9)

  • Remove pyogrio dependency and replace with geopandas (3b4c315)


Detailed Changes: v0.7.0...v0.7.1

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker 4 months ago

polartoolkit - v0.7.0

v0.7.0 (2024-12-03)

Bug Fixes

  • Allow easting and northing as coordinate column names as backups for x and y in sample_grids (8cb9f8a)

  • Broken shading parameter in plot_grd (97ec19b)

  • Bug in mask_from_shp (b3e3dbc)

  • Bug in square_subplots (861310c)

  • Check for valid version strings in fetch.mass_change (24cd984)

  • Raise warning if passing buffer to alter_region (be16120)

Chores

  • Automatically updating changelog [skip ci] (3333cb2)

  • Automatically updating changelog [skip ci] (ee01f03)

  • Automatically updating changelog [skip ci] (59ebc84)

  • Bump codecov/codecov-action in the actions group (91b9afb)

Bumps the actions group with 1 update: codecov/codecov-action.

Updates codecov/codecov-action from 4.6.0 to 5.0.7


updated-dependencies:

  • dependency-name: codecov/codecov-action dependency-type: direct:production

update-type: version-update:semver-major

dependency-group: actions

...

Signed-off-by: dependabot[bot] [email protected]

  • Update backup environmental.yml for v0.6.0 (5626d22)

  • Update make test install commands and instructions (c236a9e)

Code Style

Documentation

Features

  • Add EIGEN gravity data for Arctic (a1b1943)

  • Add ice velocity basemap to interactive_map (7f410f8)

  • Add LCS-1 satellite magnetic anomaly grids (3b400f9)

  • Allow easting and northing as backups for x and y for coord column names in various functions (8f8ae84)


Detailed Changes: v0.6.0...v0.7.0

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker 5 months ago

polartoolkit - v0.6.0

v0.6.0 (2024-11-18)

Build System

  • Update backup env yml forv0.5.1 (7a1b984)

Chores

  • Automatically updating changelog [skip ci] (1469752)

  • Automatically updating changelog [skip ci] (5cb5494)

  • Remove ruff commands and use pre-commit (e73a310)

  • Update pre-commit hooks (b6c05a4)

updates: - github.com/adamchainz/blacken-docs: 1.16.0 → 1.18.0 - github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.6.9 - github.com/pre-commit/pre-commit-hooks: v4.5.0 → v5.0.0 - github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8 - github.com/pre-commit/mirrors-mypy: v1.7.1 → v1.11.2 - github.com/codespell-project/codespell: v2.2.6 → v2.3.0 - github.com/shellcheck-py/shellcheck-py: v0.9.0.6 → v0.10.0.1 - github.com/abravalheri/validate-pyproject: v0.18 →
v0.20.2
- github.com/python-jsonschema/check-jsonschema: 0.29.0 → 0.29.3

  • Bump mamba-org/setup-micromamba from 1 to 2 in the actions group (d1816d9)

Bumps the actions group with 1 update: mamba-org/setup-micromamba.

Updates mamba-org/setup-micromamba from 1 to 2


updated-dependencies:

  • dependency-name: mamba-org/setup-micromamba
    dependency-type: direct:production
    update-type: version-update:semver-major
    dependency-group: actions ...

Signed-off-by: dependabot[bot] [email protected]

  • Bump codecov/codecov-action in the actions group (a9ee13b)

Bumps the actions group with 1 update: codecov/codecov-action.

Updates codecov/codecov-action from 4.5.0 to 4.6.0


updated-dependencies:

  • dependency-name: codecov/codecov-action
    dependency-type: direct:production
    update-type: version-update:semver-minor
    dependency-group: actions ...

Signed-off-by: dependabot[bot] [email protected]

  • Automatically updating changelog [skip ci] (bf337a8)

  • Automatically updating changelog [skip ci] (6c5d8b0)

Code Style

Documentation

  • Rerun docs (fba71d7)

  • Add commit message convention to contribute guide (959f6f4)

  • Add JOSS to citing page (54d8273)

  • Fix issue in contrib guide (f776f03)

Features

  • Add ANTGG2021 gravity compilation (f782a85)

  • Allow setting y limits in profile plots (894fafb)

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker 5 months ago

polartoolkit - v0.5.1

v0.5.1 (2024-08-05)

Chore

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

Fix

  • fix: restrict geopandas to below v1 until issue with scheme is fixed in next pygmt release (846056e)

  • fix: remove nptyping as a dependency after issues with bool8 (6b97865)

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker 9 months ago

polartoolkit - v0.5.0

v0.5.0 (2024-08-04)

Breaking

  • refactor: change origin_shift parameter options

BREAKING CHANGE: please update your code for functions plot_grd and basemap to use the following options for origin_shift: 'x', 'y', 'both', 'initialize', or None. (4e751c8)

Build

  • build(deps): bump codecov/codecov-action from 4.3.1 to 4.5.0

Bumps codecov/codecov-action from 4.3.1 to 4.5.0.


updated-dependencies:

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

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

Chore

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

  • chore: add test deps to conda_install for testing conda releases (0cc2da2)

  • chore: updates from learn-scientific-python (07d79a9)

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

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

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

  • chore: update binder env wih polartoolkit v0.4.0 (47ff400)

Documentation

  • docs: fix issues with autoapi and typehints (51f4266)

  • docs: rerun all doc notebooks (1c0fcb3)

  • docs: minor corrections to docs (64ee497)

  • docs: reduce notebook size with pygmt dpi parameter (46aadb8)

  • docs: add make setup instructions to contrib guide (18fe9cf)

  • docs: remove install info from readme (09ef175)

  • docs: typos in notebook (d539795)

  • docs: fix missing instruction in contrib guide (8128a8f)

  • docs: move contrib guide into docs/ (3001032)

  • docs: update license to 2024 for source files (127b173)

  • docs: add citation info (d1281da)

  • docs: update docs with numbered tutorials and other fixes (fdb7227)

  • docs: point binder link to tutorials (3fddb27)

Feature

  • feat: add 'easting' and 'northing' as defaults for plotting points (13b917b)

  • feat: add earthaccess dependency and use for login credentials (1b87ca8)

Fix

  • fix: add warning for deprecated origin shift parameters (728a218)

  • fix: found bug in utils.square_subplots (f87f2e1)

  • fix: drop band and spatial_ref variables from fetched grids (40f6ba2)

Refactor

  • refactor: organize plot_grd and enable more mapping features for basemap (684e86e)

  • refactor: remove kwargs for add_gridlines (e86144d)

  • refactor: mock import geopandas (ab3437d)

  • refactor: use figshare sample shapefiles and remove data/ from repo (de684bb)

  • refactor: remove quotes from scalebar (7995f9f)

Style

Unknown

  • docs:rerun doc notebooks (4424866)

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker 9 months ago

polartoolkit - v0.4.0

v0.4.0 (2024-06-14)

Breaking

  • refactor: change module name from profile to profiles to match plural style of other modules.

BREAKING CHANGE: please update all import statements to use profiles instead of profile! (84524e3)

  • refactor: combine fetch modis_moa and modis_mog to modis

BREAKING CHANGE: make sure to update your code to use the new function fetch.modis() and specify MoG vs MoA with parameter hemisphere = "south" or "north" (89e50d2)

  • refactor: rename fetch measures_boundaries to antarctic_boundaries

BREAKING CHANGE: make sure to update your code with the new function name! (6951fe2)

  • feat: add hemisphere arg to most plotting functions

BREAKING CHANGE: this alters a vast majority of the code! (05cb358)

Build

  • build: move deprecation from dev to normal dependencies (4a83f67)

  • build: add deprecation package to dev deps (ac04b0d)

  • build: include environment.yml file as backup for issues with installing (8ef681f)

  • build: set min pylint version (a93d83a)

  • build: explicitly specify tqdm as dependency (287a4db)

  • build(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1

Bumps codecov/codecov-action from 4.3.0 to 4.3.1.


updated-dependencies:

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

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

  • build(deps): bump codecov/codecov-action from 4.1.0 to 4.3.0

Bumps codecov/codecov-action from 4.1.0 to 4.3.0.


updated-dependencies:

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

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

Chore

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

  • chore: enable caching of test CI environment (f374dd2)

  • chore: switch CI from mini-conda to micromamba (69d182d)

  • chore: remove pip local install in testing CI (563f98e)

  • chore: don't run fetch calls during test

This should drastically speed up testing, not overload GHA with downloading datasets, but means testing of fetch calls will need to be performed manual by deleting the local pooch cache and rerun all fetch calls / tests. (090f239)

  • chore: add fetch mark to some tests (2f5771c)

  • chore: mark some tests as earthdata (bacb0fa)

  • chore: add codecov token (b05c119)

  • chore: add deprecation to old fetch measures boundaries function (262a0c2)

  • chore: add deprecations to old fetch modis functions (7c5461e)

  • chore: update fetch mass change test (9b2c282)

  • chore: exclude some md files from pre-commit (e4acbeb)

  • chore: update use of pylint (c886573)

  • chore: update tests for bedmachine with reference change (c1200ca)

  • chore: pre-commit autoupdate to monthly (1f977cc)

  • chore: fix test (4ac5e0b)

  • chore: misc fixes (699c02f)

  • chore: add greenland coast version to plotting functions (9dc125b)

  • chore: change arg image to modis (677b13e)

  • chore: change default profile map cmap (c9396ac)

  • chore: don't run tests on docs or style commits (8440e6f)

  • chore: add tests for regions (77ea6f8)

  • chore: update ruff version in pre-commit (e13c0d9)

  • chore: cleanup Make commands (eeab8f6)

  • chore: increase timeout for test shen moho (c769215)

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

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

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

  • chore: remove pre-commit updates from changelog (611ff84)

Documentation

  • docs: typo and readme update (c0ffc0c)

  • docs: spelling mistake (5fe90e5)

  • docs: add logo to README (b710923)

  • docs: rerun all dataset gallery notebooks (35851b9)

  • docs: major overhaul of docs structure to follow the Divio system (bbe3975)

  • docs: merge arctic and greenland dataset gallery (55abdf2)

  • docs: add missing links (a8d0af5)

  • docs: add instructions for EarthData login (18e5581)

  • docs: add release instructions to contributing guide (04d3ac2)

  • docs: consolidate and update install instructions (399ba89)

  • docs: rerun notebooks (c5fe426)

  • docs: clarify all mentions of format of region tuples (1e8c09f)

  • docs: clarify project scope and goals (11ef365)

  • docs: add rosetta grav/mag to gallery datasets (690e747)

  • docs: add measures ice boundaries to dataset gallery (60db1c9)

  • docs: add basal melt rate to dataset gallery (02ee6f7)

  • docs: add geomap geology to dataset gallery (4277b7c)

  • docs: add groundline to dataset gallery (39b142e)

  • docs: add mass change to dataset gallery (0476df2)

  • docs: add magnetics to dataset gallery (f0cadd9)

  • docs: add ice velocity to dataset gallery (3e8a022)

  • docs: add gravity to dataset gallery (80d1a6c)

  • docs: add GIA to dataset gallery (5e2eced)

  • docs: use full citations in dataset gallery (df634ba)

  • docs: add GHF to dataset gallery (95826c1)

  • docs: rerun notebook (2c44c08)

  • docs: add modis mog to index (2a041a8)

  • docs: rerun all docs (9984c8d)

  • docs: add more dataset notebooks (4526aab)

  • docs: edit some docstrings (66a1ef5)

  • docs: reorganize available dataset gallery (99ac4a2)

  • docs: add more dataset notebooks (41908f0)

  • docs: update references (520823f)

  • docs: mention dataset gallery in fetch walkthrough (d6387b3)

  • docs: add bedmachine dataset notebook (2651e46)

  • docs: update bedmap2 dataset notebook (1dee9e9)

  • docs: update dataset gallery template (1d100c3)

  • docs: add available dataset gallery (7932719)

  • docs: conform fetch walkthrough to standard figure creation style (a740223)

  • docs: switch binder env to separate repo, remove launch buttons (921f091)

  • docs: try nbgitpull link for launch binder buttons (5ca4de9)

  • docs: fix issues with subplot_layout example (9e46dbd)

  • docs: remove python version and nodefaults from binder env (9c46665)

  • docs: simplify binder env (8e2c8ed)

  • docs: update contributing guide (777b662)

  • docs: reuse readme material in RTD index (8791e96)

Feature

  • feat: add points option to basemap (474cde7)

  • feat: add region_ll_to_xy function (31b054c)

  • feat: add ice velocity for Greenland (9ad6fe7)

  • feat: add etopo data for the arctic/greenland (2910e30)

  • feat: add mass change for Greenland (56bd01a)

  • feat: enable greenland support for profiles (548f626)

  • feat: add function to extract default hemisphere (b8b4f0a)

  • feat: add geoid for Greenland and change geoid region for Antarctica (4987e0b)

  • feat: add bedmachine data from Greenland (cfa5fff)

  • feat: add cbar_labels kwarg to plot_3d (9d26d06)

  • feat: add cbar_perspective arg to plot_3d (25f1bf7)

  • feat: enable passing single grid to plot_3d (b71001a)

  • feat: add function for combined min max of several grids (6d3c294)

  • feat: allow passing .cpt file to colorbar histogram (e633789)

  • feat: add inset map option for greenland (5d36db4)

  • feat: add subset grid function (ab2e60a)

  • feat: add BAS greenland groundingline (d29863e)

  • feat: add pen kwarg to show_region (308eac0)

  • feat: add fetch MODIS Greenland (3e78b8e)

  • feat: add some Greenland regions (29fa593)

  • feat: add Arctic/Greenland to utils/maps (503b6a1)

Fix

  • fix: fix deprecated test measures boundaries (6f3cc23)

  • fix: fix deprecated test alter region (eaad9c8)

  • fix: fix fetch ice vel issue (02bf5e4)

  • fix: remove hash from mass_change (54cfe1b)

  • fix: fix tests for deprecations (890bc21)

  • fix: remove alter region from get_regions (ab009d4)

  • fix: properly set default region in basemap (f5ca3da)

  • fix: specify hemisphere in bedmap2 reference test (fd4e668)

  • fix: for bedmachine grids, restore correct registration type and only resample after geoid added to grids (bf600b4)

  • fix: remove fetch basement due to limited spatial extent of data (4cfc9e5)

  • fix: remove support for fetch ROSETTA grav and mag to align with goal of only providing common and widespread datasets (cc8d2af)

  • fix: update warning about grid region extract in plot_3d (b9be0ae)

  • fix: update figure shifting of plot_3d (2ff91d3)

  • fix: warning about histogram if grid is constant value (7d7647b)

  • fix: improve creation of colormap (25ea3b5)

  • fix: correctly center interactive map (f0f5887)

  • fix: change greenland region slightly (6953ce0)

  • fix: load deepbedmap instead of returning string (6840639)

  • fix: remove faulty layer name from fetch bedmachine (78a9879)

Refactor

  • refactor: update deprecated pandas delim_whitespace (f70476a)

  • refactor: move alter_region from utils to regions (f95ced0)

  • refactor: add hemisphere and remove kwargs from call to geoid (db5241e)

  • refactor: remove unnecessary verbose and kwargs for some fetches (fdab8fe)

  • refactor: log info instead of error in mask_from_shp (fd2e768)

  • refactor: use environment variable for setting hemisphere in profile (3be6d86)

  • refactor: if available, use environmental variables for setting hemisphere throughout code

To utilize this feature, either set a system environment variable POLARTOOLKIT_HEMISPHERE equal to either south or north, or in your python file/notebook use os.environ to set this value for the current session. (d756838)

  • refactor: use new set_cmap function in plot_3d (1e68076)

  • refactor: set cbar position in plot_3d (ecf53cf)

  • refactor: changed default shading to false in plot_3d (7e4feed)

  • refactor: remove default vlims for plot_3d (3f59d10)

  • refactor: change default point color in plot_profile (e895aed)

  • refactor: update np random number generator (0daaffc)

Style

  • style: auto style fixes (3c3e155)

  • style: style fixes (2022c6d)

  • style: fix cmap issues in plot_profile (4492445)

  • style: ignore pylint warnings (63e23a5)

  • style: auto fixes (52ac789)

  • style: fixes for pylint (bf9c1cd)

  • style: auto style fix (120e634)

  • style: auto style fixes (b12c877)

  • style: add typing to function (51e25a9)

  • style: fix regions test styling (a8d9628)

  • style: reformat with new ruff version (363f8fa)

  • style: auto style fixes from ruff/pylint (e1efbab)

Unknown

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker 11 months ago

polartoolkit - v0.3.3

v0.3.3 (2024-04-23)

Build

  • build: make semantic release GHA need changelog success (adf7edb)

Chore

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

  • chore: pin python semantic release version (73a0fbd)

Fix

  • fix: pinning issue in workflow (1578894)

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker about 1 year ago

polartoolkit - v0.3.2

v0.3.2 (2024-04-23)

Build

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

Bumps codecov/codecov-action from 4.0.1 to 4.1.0.


updated-dependencies:

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

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

Chore

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

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

  • chore: fix semantic release action (6b12799)

Fix

  • fix: reduce accuracy check for test resampling grids (93fca6f)

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker about 1 year ago

polartoolkit - v0.3.1

v0.3.1 (2024-02-22)

Build

  • build: extend support to python 3.12 (f68def9)

Chore

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

  • chore: remove shen-2018 hash (fbefe40)

  • chore: fix test ghf (c7c66f6)

  • chore: update changelog template (e4bd1d9)

  • chore: reduce sig figs for test_ghf (393aadc)

  • chore: list packages after installing local for test GHA (51250b4)

  • chore: update testing_env and add make command (4ee6945)

  • chore: add hashes to all fetch calls (91eb9a8)

  • chore: move contributing file (05dff10)

  • chore: add test_fetch make command (2a0adb3)

  • chore: add ignores to pre-commit (3fffd15)

  • chore: fix changelog template spacing (cabc14a)

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

Documentation

  • docs: update install instructions (70faf04)

  • docs: fix links to contrib guide (5c6af8d)

Fix

  • fix: increase timeout for shen-2018 moho fetch (8d9e183)

  • fix: delete tmp.nc file in fetch call (ee16bdc)

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker about 1 year ago

polartoolkit - v0.3.0

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

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker about 1 year ago

polartoolkit - v0.2.1

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)

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker about 1 year ago

polartoolkit - v0.2.0

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

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker over 1 year ago

polartoolkit - v0.1.0

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)

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker over 1 year ago

polartoolkit - v0.0.6

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

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker about 2 years ago

polartoolkit - v0.0.4

What's Changed

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

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker over 2 years ago

polartoolkit - v0.0.3

💫 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

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker almost 3 years ago

polartoolkit - v0.0.1

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

Cryosphere - Glacier and Ice Sheets - Python
Published by mdtanker almost 3 years ago