Skip to content

Releases: lukegre/CryoGrid-pyTools

Spatial mapping for cluster runs

02 Apr 15:04

Choose a tag to compare

v0.3.2

Improved importing, plotting, and docs

Added optional data fetching tools

17 Jan 13:05

Choose a tag to compare

added checks for Excel config file

16 Jan 11:45

Choose a tag to compare

Full Changelog: v0.1.6...v0.1.7

  • checks for violations of the STRAT_layers parameters
  • e.g., field capacity <= water+ice

modular

13 Jan 13:39

Choose a tag to compare

spatial_info_dict = cg.read_mat_struct_flat_as_dict('../runs/strat/run_spatial_info.mat')
cluster_idx = spatial_info_dict.pop('cluster_idx')
ds_matlab = flat_dict_to_xarray(spatial_info_dict, index=['coord_y', 'coord_x'])

OR

ds_matlab = cg.read_mat_struct_as_dataset(
    '../runs/strat/run_spatial_info.mat', 
    drop_keys=['cluster_idx'],
    index=['coord_y', 'coord_x'])

v0.1.5

19 Nov 12:27

Choose a tag to compare

More flexible loading for mutliple files

Full Changelog: v0.1.4...v0.1.5

New feature: generic MATLAB dates to pandas Timestamps

18 Nov 09:38

Choose a tag to compare

When using read_mat_struct_as_dataset, you can use the following kwarg:

forcing = cgt.read_mat_struct_as_dataset(
    fname, 
    index='timeForcing',  # must be set for index_is_datenum to work
    index_is_datenum=True  # converts MATLAB datenum to pd.Timestamp
)

Full Changelog: v0.1.3...v0.1.4

First release 🎉

14 Nov 10:16

Choose a tag to compare

A more generalised approach to reading in MATLAB files was taken.
Some other bugs also fixed.

Full Changelog: v0.1.2...v0.1.3