Recent Releases of climakitae

climakitae - 1.3.0

What's Changed

  • Test Coverage for explore/amy by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/531
  • Fix deprecated calls in code by @elehmer in https://github.com/cal-adapt/climakitae/pull/535
  • Coverage/explore uncertainty by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/534
  • Test coverage for util/unit_conversions by @acordonez in https://github.com/cal-adapt/climakitae/pull/533
  • Full coverage unit tests for thresholds.py in explore by @acordonez in https://github.com/cal-adapt/climakitae/pull/529
  • Add unit tests for explore/timeseries coverage by @acordonez in https://github.com/cal-adapt/climakitae/pull/543
  • Test Coverage for util.dev_logging by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/540
  • Test coverage for climakitae.util.logger by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/542
  • Test coverage for climakitae.util.cluster by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/544
  • Tests for data_export.py by @acordonez in https://github.com/cal-adapt/climakitae/pull/546
  • Test for util/generategwltables.py by @acordonez in https://github.com/cal-adapt/climakitae/pull/536
  • Updates variable descriptions csv for contextual clarity by @vicford in https://github.com/cal-adapt/climakitae/pull/547
  • Test Coverage for util.generate_gwl_tables_unc.py by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/545
  • Improve wording in readthedocs page ("alpha release") by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/550
  • fixed area mean by @wkrantz in https://github.com/cal-adapt/climakitae/pull/530
  • Test Coverage of util.utils by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/549
  • Add all_touched spatial filtering option to DataParameters, get_data, data_load by @elehmer in https://github.com/cal-adapt/climakitae/pull/552
  • Units tests for data_load.py by @acordonez in https://github.com/cal-adapt/climakitae/pull/548
  • Advanced Testing Tier Setup by @elehmer in https://github.com/cal-adapt/climakitae/pull/537
  • Add cliptoshapefile function by @acordonez in https://github.com/cal-adapt/climakitae/pull/554
  • Fix inconsistent GWLGenerator tests by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/557
  • Test coverage for core.data_interface by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/551
  • Obsolete Code Removal by @elehmer in https://github.com/cal-adapt/climakitae/pull/556
  • Move data load tests to advanced tier by @acordonez in https://github.com/cal-adapt/climakitae/pull/555
  • Main Testing Logic Fix by @elehmer in https://github.com/cal-adapt/climakitae/pull/560
  • Main Testing Logic #2 by @elehmer in https://github.com/cal-adapt/climakitae/pull/562
  • Unit tests for explore/threshold_tools by @acordonez in https://github.com/cal-adapt/climakitae/pull/558
  • Test Coverage for explore.warming by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/561
  • Readd removed _round_to_nearest_half by @elehmer in https://github.com/cal-adapt/climakitae/pull/566
  • Fix Broken Link in Readthedocs by @claalmve in https://github.com/cal-adapt/climakitae/pull/571
  • Fix issue with pip installing climakitae due to xclim/xsdba migration by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/573
  • Changes to 1-in-X calculation to incorporate minimum event functionality by @claalmve in https://github.com/cal-adapt/climakitae/pull/568
  • Adding GWL <> Year Tools by @claalmve in https://github.com/cal-adapt/climakitae/pull/574
  • Adding Custom WLs by @claalmve in https://github.com/cal-adapt/climakitae/pull/567
  • Adding small print change to bms drop warning by @claalmve in https://github.com/cal-adapt/climakitae/pull/575
  • Fixing small typo with bms error msg by @claalmve in https://github.com/cal-adapt/climakitae/pull/576
  • Rework Elif statements to use Match statements instead by @elehmer in https://github.com/cal-adapt/climakitae/pull/564
  • Revert split of xclim and xsdba by @elehmer in https://github.com/cal-adapt/climakitae/pull/578
  • Use Pip instead of Conda in Testing workflow by @elehmer in https://github.com/cal-adapt/climakitae/pull/583

New Contributors

  • @acordonez made their first contribution in https://github.com/cal-adapt/climakitae/pull/533

Full Changelog: https://github.com/cal-adapt/climakitae/compare/1.2.3...1.3.0

- Python
Published by elehmer about 1 year ago

climakitae - 1.2.3

What's Changed

  • Change pandas date_range DateOffset to future proof by @elehmer in https://github.com/cal-adapt/climakitae/pull/508
  • Adding bug fix for time slicing in CAVA notebook by @claalmve in https://github.com/cal-adapt/climakitae/pull/510
  • Adding full test coverage to warming_levels.py in utils by @claalmve in https://github.com/cal-adapt/climakitae/pull/511
  • Export: Add Zarr local/s3 support, Remove NetCDF s3 support by @elehmer in https://github.com/cal-adapt/climakitae/pull/509
  • Removing 'Unnamed: 0' column from GWL tables by @claalmve in https://github.com/cal-adapt/climakitae/pull/513
  • Reformat codebase for Black 25.1.0 by @elehmer in https://github.com/cal-adapt/climakitae/pull/517
  • Bug fix to warming.py by @claalmve in https://github.com/cal-adapt/climakitae/pull/519
  • Time-optimization changes to CAVA data function by @claalmve in https://github.com/cal-adapt/climakitae/pull/518
  • Dev/GitHub issue templates by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/520
  • [change] fixed checkboxes for code improvement template, removed code… by @neilSchroeder in https://github.com/cal-adapt/climakitae/pull/522
  • Revert adddummytimetowl code to previous method by @elehmer in https://github.com/cal-adapt/climakitae/pull/524

New Contributors

  • @neilSchroeder made their first contribution in https://github.com/cal-adapt/climakitae/pull/520

Full Changelog: https://github.com/cal-adapt/climakitae/compare/1.2.2...1.2.3

- Python
Published by elehmer over 1 year ago

climakitae - 1.2.2

What's Changed

  • Update station test by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/494
  • Add 1.0 gwl by @wkrantz in https://github.com/cal-adapt/climakitae/pull/495
  • Assure that CRS and grid_mapping are set correctly before returning data by @elehmer in https://github.com/cal-adapt/climakitae/pull/501

New Contributors

  • @wkrantz made their first contribution in https://github.com/cal-adapt/climakitae/pull/439

Full Changelog: https://github.com/cal-adapt/climakitae/compare/1.2.1...1.2.2

- Python
Published by elehmer over 1 year ago

climakitae - 1.2.1

What's Changed

Bug fixes for 1.2.0:

496

497

499

Full Changelog: https://github.com/cal-adapt/climakitae/compare/1.2.0...1.2.1

- Python
Published by elehmer over 1 year ago

climakitae - 1.2.0

What's Changed

This release includes changes to code to accommodate moving python foundation libraries from those in Pangeo Notebook Image 2022-09-21 to Pangeo Notebook Image 2024-11-11. As well as all of these changes:

  • Adding WL 0.8 and 1.2 to existing GWL times files by @claalmve in https://github.com/cal-adapt/climakitae/pull/460
  • Fixes small typo in WL attribute by @vicford in https://github.com/cal-adapt/climakitae/pull/469
  • Retrieve derived indices using a warming levels approach by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/467
  • Adding constants.py and integrating it into AE by @claalmve in https://github.com/cal-adapt/climakitae/pull/468
  • Change SSP string IDs by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/474
  • Quick Bug Fix - Timezone Conversion by @claalmve in https://github.com/cal-adapt/climakitae/pull/472
  • Bug fix: vulnerability.py adding SSP import by @vicford in https://github.com/cal-adapt/climakitae/pull/477
  • Bug fix: threshold tools nonfinite value bug when calculating 1-in-X precipitation events in arid regions by @vicford in https://github.com/cal-adapt/climakitae/pull/476
  • Update README.md by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/479
  • Update pullrequesttemplate.md by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/482
  • Fix vulnerability test by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/480
  • Adding 0.8 1.2 GWLs into cava_data options by @vicford in https://github.com/cal-adapt/climakitae/pull/481
  • "converttolocal_time" failing on gridded data wrt Boundaries by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/486
  • Trim WRF domain edges by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/484
  • Rotate wind vectors by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/483
  • Fix indent in get_data test by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/487
  • Update missed doc version by @elehmer in https://github.com/cal-adapt/climakitae/pull/490
  • Making arid regions get_block_maxima functionality generalized across variables by @claalmve in https://github.com/cal-adapt/climakitae/pull/489
  • Change path to wind angle zarrs by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/491
  • Get station data using get_data() function by @nicolejkeeney in https://github.com/cal-adapt/climakitae/pull/488

Full Changelog: https://github.com/cal-adapt/climakitae/compare/1.1.0..1.2.0

- Python
Published by elehmer over 1 year ago

climakitae - 1.1.0

Release Notes – climakitae 1.1.0

Added new Global Warming Level approach to data retrieval and tools.

What’s new?

  • Added global warming levels approach and related functionality as a data retrieval option
  • Added gwltimingtable.csv to package data and code used to create the file (generategwltiming_table.py)
  • Handled an error in WarmingLevels.calculate()
  • Adding goodness of fit prints for goodness-of-fit of distributions for 1 in X calculations to CAVA data function
  • Optimizing FFWI by using xarray clipping vs numpy clipping
  • Allow individual GCMs to be selected using a warming level approach
  • Optimize CAVA pilot function by primarily using batch mode
  • Enable WL simulation to be dropped for LOCA models too in CAVA pilot
  • Fixing WL simulation filtering bug with warming levels
  • Adding new bias corrected WRF model to CAVA pilot
  • Refactor CAVA pilot to integrate new global warming approach and naming conventions via DataParameters
  • Added new Vunerability tests
  • Added Derived variables/indices to get_data_options() and get_data() functions so that those data can be downloaded without GUI.

- Python
Published by elehmer over 1 year ago

climakitae - 1.0.1

Minor bug fixes and improvements. Documentation cleanup

- Python
Published by elehmer almost 2 years ago

climakitae - 1.0.0

Release Notes – climakitae 1.0.0

climakitae at 1.0.0 now splits the codebase into 2 repos: climakitae and climakitaegui. All GUI based code using the holoviz universe (panel, hvplot, etc.) has been moved to climakitaegui (ckg). This allows climakitae (ck) to have a more minimal install requirement allowing users to access the core data retrieval functionality of ck without the difficult build requirements of ckg.

What’s new?

  • Code split into 2 repos. For GUI based functions in ckg, base classes are set in ck and then imported and extended in ckg. Some work had been previously done on this internally to ck but now the gui code is in a completely different repo.
  • Functions needed only for other functions (helper functions) were moved from module level into the sub-functions.
  • Documentation improvements to core functions.

Core

  • All panel based user interface code moved to ckg
  • New data query and retrieval tools added so that possible data outputs can be searched for and I single get_data call can be done.

Explore

  • GUIs for explore tools moved to ckg. Base functions remain.

- Python
Published by elehmer almost 2 years ago

climakitae - 0.1.0

Release Notes – climakitae 0.1.0

climakitae is a python library being developed in tandem with a Jupyter notebook repository, cae-notebooks, for the Cal-Adapt Analytics Engine, an open-source project to enable cloud computing with official State of California downscaled climate projections.

This release represents a new stable beta version of core features, which will be built upon as existing toolkits are updated and new ones are added.

What’s new?

  • Core functions and toolsets are updated to select, subset, retrieve, preview, and export data from an updated catalog of climate projections regionally downscaled for California.

  • Application class was removed, solving issues with unintended shared state

  • Syntax has changed as a result, and code examples in Jupyter notebooks on the Analytics Engine Hub now reflect version 0.1.0:

| Activity | Before | Version 0.1.0 | | :--- | :--- | :--- | | Import the library | import climakitae as ck | import climakitae as ck | | Pull up a GUI to select and subset data from the catalog | app = ck.Application
app.select() | selections = ck.Select()
selections.show() | | Print the current state of selections | app.selections | selections | | Retrieve selected data from the catalog(in an xarray format, lazily loaded) | mydata = app.retrieve() | mydata = selections.retrieve() | | Preview the data | app.view(mydata) | ck.view(mydata) | | Force compute, to load data into memory | mydata = app.load(mydata) | mydata = ck.load(mydata) | | Export data to file | app.exportas()
app.export(my
data,’filename’) | ck.export(my_data, ‘filename’,format) |

Export

  • geoTIFF is deprecated (for now). netCDF and csv are available formats
  • csv export better handles formatting for multiple types of data
  • export is now a single line, replacing a two-step process of selecting filetype

Toolkits

  • Previous ‘explore’ panels and timeseries tools are unified under the ‘explore’ module
  • Functionality remains the same as immediately prior to this release
  • Future updates introduce more toolkit improvements
  • Required imports and calling syntax have changed:

| Activity | Before | Version 0.1.0 | | :--- | :--- | :--- | | Pull up one of the ‘explore’ toolkits (interactive panel with GUI) | app = ck.Application()
app.explore.warminglevels() | from climakitae.explore import warminglevels
wl = warminglevels()
wl.show() | | timeseries toolkit | from climakitae import timeseriestools as tst
timeseries = tst.Timeseries(my
data)
timeseries.explore() | from climakitae.explore import timeseries as tst
timeseries = tst.TimeSeries(my_data)
timeseries.explore() |

- Python
Published by elehmer almost 3 years ago

climakitae - 0.0.2

This is the 0.0.2 release of Climakitae just before a major refactoring of the codebase.

- Python
Published by elehmer almost 3 years ago