Skip to content

v0.4.0

Compare
Choose a tag to compare
@mdtanker mdtanker released this 14 Jun 11:01
· 62 commits to main since this release

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