Recent Releases of coast

coast -

Summary

New features

  • Add .zarr handling. Include as a notebook example
  • Add notebook example for visualisation over poles. Specific plotting contours and quivers in Arctic on ORCA tripolar grid)

Behind the scenes - Update for python=3.10 - Tidying of example scripts - Improved unit test coverage

What's Changed

  • micro edit by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/621
  • update readbodc dimension to include iddim by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/623
  • Allow CRPS to accept nD arrays - flatten first by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/618
  • Updated directory name for notebooks by @roje-bodc in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/630
  • create pylint action by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/633
  • Tidy up example scripts directory by @roje-bodc in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/634
  • add by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/641
  • add by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/642
  • run notebooks on coast repo by @thogar-computer in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/631
  • Feature/python3.10 update by @roje-bodc in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/643
  • Change matplotlib backend for unit tests by @roje-bodc in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/645
  • remove deprec warning by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/649
  • Bug/#628 cartopy quivers by @b-barton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/647
  • update github actions versions by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/652
  • Feature/585 gsw version by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/586
  • 0624/polar quivers notebook by @b-barton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/650
  • Standardized tide gauge objects by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/651
  • 0653/merge plot polar contour by @b-barton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/654
  • Feature/zarr files by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/655
  • create changes for the new release by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/656
  • create changes for the new release by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/657
  • correct notebook for polar plotting and remove files by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/659
  • correct notebook by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/660
  • Create a new release (3.2.2) by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/658
  • Soutobias patch 1 by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/661
  • Correct python version on yml file by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/662
  • comment notebook by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/665
  • Correct github workflow for the markdown general by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/667
  • Update polar_plotting and zarr notebooks - bug on notebook general workflow by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/668
  • correct zarr installation on workflows by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/669
  • correct release by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/671
  • Correct release by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/672

New Contributors

  • @soutobias made their first contribution in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/633
  • @b-barton made their first contribution in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/647

Full Changelog: https://github.com/British-Oceanographic-Data-Centre/COAsT/compare/v3.2.1...v3.3.0

- Jupyter Notebook
Published by jpolton about 2 years ago

coast - v3.3.0

Summary

New features

  • Add .zarr handling. Include as a notebook example
  • Add notebook example for visualisation over poles. Specific plotting contours and quivers in Arctic on ORCA tripolar grid)

Behind the scenes - Update for python=3.10 - Tidying of example scripts - Improved unit test coverage

What's Changed

  • micro edit by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/621
  • update readbodc dimension to include iddim by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/623
  • Allow CRPS to accept nD arrays - flatten first by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/618
  • Updated directory name for notebooks by @roje-bodc in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/630
  • create pylint action by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/633
  • Tidy up example scripts directory by @roje-bodc in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/634
  • add by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/641
  • add by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/642
  • run notebooks on coast repo by @thogar-computer in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/631
  • Feature/python3.10 update by @roje-bodc in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/643
  • Change matplotlib backend for unit tests by @roje-bodc in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/645
  • remove deprec warning by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/649
  • Bug/#628 cartopy quivers by @b-barton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/647
  • update github actions versions by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/652
  • Feature/585 gsw version by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/586
  • 0624/polar quivers notebook by @b-barton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/650
  • Standardized tide gauge objects by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/651
  • 0653/merge plot polar contour by @b-barton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/654
  • Feature/zarr files by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/655
  • create changes for the new release by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/656
  • create changes for the new release by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/657
  • correct notebook for polar plotting and remove files by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/659
  • correct notebook by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/660
  • Create a new release (3.2.2) by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/658
  • Soutobias patch 1 by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/661
  • Correct python version on yml file by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/662
  • comment notebook by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/665
  • Correct github workflow for the markdown general by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/667
  • Update polar_plotting and zarr notebooks - bug on notebook general workflow by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/668
  • correct zarr installation on workflows by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/669
  • correct release by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/671
  • Correct release by @soutobias in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/672

New Contributors

  • @soutobias made their first contribution in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/633
  • @b-barton made their first contribution in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/647

Full Changelog: https://github.com/British-Oceanographic-Data-Centre/COAsT/compare/v3.2.1...v3.3.0

- Jupyter Notebook
Published by jpolton about 2 years ago

coast - v3.2.1

Summary

  • Profile.processen4(). Added keyword option (removeflagged_neighbours=bool), a new EN flag to remove close points.
  • Profile.process_en4(). Remove bug to correctly reject salinity points. (Salinity was being rejected at bad temperature points)
  • Profile.maskmeans() —> Profile.maskstats(), which includes standard deviation and means over regions
  • MaskMaker edits - new FSC region in NW European shelf. Harmonise naming convention for NW shelf regions.
  • coast.Gridded() can take indices to perform subsetting prior to generating the Gridded object (which isn’t scaling well is subsets are called in other ways.)
  • new CurrentsOnT() subclass of Gridded(), with methods for mapping velocities to t-points for analysis (self-complete but not fully implemented)

What's Changed

  • bug fixes in process_en4() by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/609
  • fix depreciated syntax. cannot define gridded.landmask = None by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/614
  • 606 circulation and fluxes in global model data jp by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/616
  • 606 circulation and fluxes in global model data by @jasontempestholt in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/607
  • update: 3.2.1 by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/619

Full Changelog: https://github.com/British-Oceanographic-Data-Centre/COAsT/compare/v3.2.0...v3.2.1

- Jupyter Notebook
Published by jpolton almost 3 years ago

coast - Nov22

What's Changed

  • Fixed dangling file openings by @ledm in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/582
  • dask and xarray >= 2022.3.0 by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/592
  • Add MaskMaker.make_region() by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/595
  • Feature/593 obs_operator fix by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/596
  • Add MaskMasker.quick_plot() by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/599

Tutorials * maskmakertutorial * tidegauge validation update (more figures)

Tests for new features

New Contributors

  • @ledm made their first contribution in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/582

Full Changelog: https://github.com/British-Oceanographic-Data-Centre/COAsT/compare/v3.1.2...v3.2.0

- Jupyter Notebook
Published by jpolton over 3 years ago

coast - tutorial updates

Major updates to tutorials:

Minor updates:

  • update cartopy=0.21.0
  • minor bug fixes e.g in Tidegauge()

- Jupyter Notebook
Published by jpolton over 3 years ago

coast - NOWMAPS-sep22

Bug fix in dependency conflicts. For now specify: - numpy==1.22.3 - dask==2022.3.0 - dask[complete]==2022.3.0 - xarray==2022.3.0 - netCDF4==1.5.8


v3.1.0 release notes MAJOR CHANGES AND NEW FEATURES: - netcdf domain variables renamed/ mapped according to json config. - SE-NEMO branch merged. - code refactor.

BUGS: - deprecated xr.ufunc removed - git actions improved

DOCS: - Notebooks are now EXECUTED in action, converted to markdown and included in documentation site with images included. - Github actions flowchart github-actions-flowchart.md updated. - Several Jupyter Notebooks Added

- Jupyter Notebook
Published by jpolton over 3 years ago

coast - NOWMAPS-sep22

MAJOR CHANGES AND NEW FEATURES: - netcdf domain variables renamed/ mapped according to json config. - SE-NEMO branch merged. - code refactor.

BUGS: - deprecated xr.ufunc removed - git actions improved

DOCS: - Notebooks are now EXECUTED in action, converted to markdown and included in documentation site with images included. - Github actions flowchart github-actions-flowchart.md updated.

Several Jupyter Notebooks Added

- Jupyter Notebook
Published by lukegorman over 3 years ago

coast - IMMERSE-jun22

MAJOR CHANGES AND NEW FEATURES: - Package restructure, contents of directory 'coast' moved into directories 'coast/data', 'coast/diagnostics' and 'coast/utils'. - Added support for streaming Copernicus Marine Service (and other) datasets via OPeNDAP. - Variable names made mandatory for `subsetindices()` in gridded.py.

BUGS: - Package 'utide' upgraded to 0.3.0 fixing failing references. - Additional data files made available to further support unit tests.

DOCS: - All docstrings are now extracted, converted to markdown and included in documentation site. - Notebooks are now converted to markdown and included in documentation site. - Github actions flowchart github-actions-flowchart.md added.

Jupyter Notebooks Added: - seasonaldecompexample.ipynb. - altimetrytutorial.ipynb. - amm15exampleplot.ipynb. - anchorplotsofnseawvel.ipynb. - tideguagevalidationtutorial.ipynb. - tidetabletutorial.ipynb.

- Jupyter Notebook
Published by lukegorman over 3 years ago

coast - CONGA

MAJOR CHANGES AND NEW FEATURES: * Updated unittesting to be more flexible and more distributed across separate files. * Added a coverage metric to assess the amount of code that is tested in unittesting. * Tidegauge now has two dimensions Tidegauge(iddim, time), instead of just time. Breaking change * New Profile.averageintogridboxes() routine, for transforming a profile into a Gridded object * New json configuration files for NEMO-ERSEM output and NEMO data from CMEMS * Added World Ocean Database reading method into Profile() * Updated functionality for contour methods on Gridded objects: Return length diagnostic; add new ContourT() class for fluxes of tracer along t-points. * Seasonal decomposition utility using a Dask wrapper * Add xesmf wrapper that takes in a pair of Gridded datasets and prepares them for use with xesmf

UPDATES: * Interpolatevertical now handles empty profiles, returning an empty profile on the new depths * Profile has also been reorganised into core Profile and ProfileAnalysis() classes * Tidegauge and Tidegaugemultiple have been reorganised into Tidegauge() and TidegaugeAnalysis() classes * Indexed classes no longer read default file types on initialisation but can be handed a dataset using the dataset = arg

BUGS: * Bug fixes in Tidegauge()/TidegaugeAnalysis() * Bug fixes in Profile()/ProfileAnalysis()

DOCS: * General website updates to reflect the changes in this version * Rewritten Github workflow webpage * Rewritten Unit_test webpage

- Jupyter Notebook
Published by jpolton almost 4 years ago

coast - IMMERSE-restructure

Summary

  • update matplotlib>=3.4.3 dependency
  • update cartopy>=0.20.1 references (not included in pip build as not straight forward)
  • update documentations for package versions
  • update documentation for configuration files

What's Changed

  • update numpy version by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/346
  • Update setup.py by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/347
  • Test by @davbyr in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/348
  • Develop by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/349
  • version bump by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/350
  • small bugfix by @davbyr in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/354
  • DEBUG -> CRITICAL by @davbyr in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/356
  • Develop by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/357
  • update matplotlib. Add cartopy as core dependency by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/359
  • Develop by @jpolton in https://github.com/British-Oceanographic-Data-Centre/COAsT/pull/361

Full Changelog: https://github.com/British-Oceanographic-Data-Centre/COAsT/compare/v1.2.0-alpha...v1.2.7

- Jupyter Notebook
Published by jpolton over 4 years ago

coast - IMMERSE-restructure

The core data handling has been restructured to permit tidier expansion for more model and observational data types. A new Gridded class is introduced as a generalisation of the defunct NEMO class. A new Indexed class is introduced as a parent to: - Profile (which can store and manipulate profile data) - Timeseries --> Tidegauge, TidegaugeMultiple - Track --> Altimetry

In addition some new classes are added to Indexed() for subsequent development - Argos - Glider - Lagrangian

Other changes

  • Apply Black formatting (line length = 120) to all Python modules.
  • Add automatic formatting via Black as a GitHub action
  • Temporal aggregation functionality with user defined seasons
  • xarray version update. (0.15 --> 0.19.0)
  • add utide package

Full Changelog: https://github.com/British-Oceanographic-Data-Centre/COAsT/compare/v0.5.0...v1.2.0-alpha

- Jupyter Notebook
Published by jpolton over 4 years ago

coast - WCSSP-India-release

  • CLIMATOLOGY object and methods
  • MASK_MAKER object and methods for defining geospatial regions
  • add time dependent e3 variable (vertical grid spacings)
  • add find_maxima() cubic spline method
  • other bits and bobs

- Jupyter Notebook
Published by jpolton almost 5 years ago

coast - 0.4.1

Update includes: * new module for EOF and complex Hilbert EOFs

- Jupyter Notebook
Published by jpolton over 5 years ago

coast - 0.3.1a5

This is largely a resetting of the version release number, which had previous gone from 0.3 back to 0.2... Commits since last release include: *DoodsonX0 filter *Landmasking for obs operator *Tidetable methods in Tidegauge obj

- Jupyter Notebook
Published by jpolton over 5 years ago

coast - 0.2.1a40

  • degrade GSW to be compatible with existing dependencies

- Jupyter Notebook
Published by jpolton over 5 years ago

coast - 0.2.1a39

  • Major update to TRANSECT class:
    • new Contour class for transect analysis
    • geostrophic transports across transects
  • major overhaul of stats methods:
    • CRPS and STATS no longer objects but methods
    • new TIDEGAUGE object
    • obs_operator method added to ALTIMETRY and TIDEGAUGE objects
  • code logging utility added
  • withdrawn support for python 3.6
  • loading w-grid objects
  • unit testing enhancements
  • purged unused files

- Jupyter Notebook
Published by jpolton over 5 years ago

coast - Merge domain and data objects

Since the previous release we have * merged the NEMO domain and NEMO data objects. * Added a transect class * Internal tides class * Tide gauge class * Altimetry class * automatic conda publish * CRPS class

- Jupyter Notebook
Published by jpolton over 5 years ago

coast -

test on conda build from github

- Jupyter Notebook
Published by thogar-computer almost 6 years ago

coast - 0.1.2-alpha.8

-The main functionality change for this release is the inclusion of a new method dist_haversine() based within the DOMAIN class.

-There have also been a few smaller changes to python package imports and to the setcommandvariables methods.

-Unnecessary requirements have been trimmed down to make the package more lightweight.

- Jupyter Notebook
Published by roje-bodc almost 6 years ago

coast - 0.1.2-alpha.6

This release contains the base for a PyPi package to be build and used - The user is asked to install the Cartopy lib themselves if they which to use the plot_cartopy function

- Jupyter Notebook
Published by thogar-computer almost 6 years ago

coast - 0.1.0-alpha.2

Fix type issues

- Jupyter Notebook
Published by thogar-computer almost 6 years ago

coast - 0.1.0-alpha.1

This is a pre-alpha version of COAsT

- Jupyter Notebook
Published by thogar-computer almost 6 years ago