Skip to content

Commit

Permalink
Version 3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefraynaud committed Jul 2, 2018
1 parent 155bc74 commit 6913306
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 4 deletions.
31 changes: 31 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,37 @@
Release notes
#############

Version 3.6.0
=============

- Added support for scipy interpolations in griddata and xy2xy
with use of projected coordinates
- Added tuple support to create_axes2d
- Added basic_proj and use it as default projection
- Added GriddedSelector
- Added some support for unstructured grids: create_ugrid, get_tri,
get_tri_mask, get_tri_type, create_ugrid, create_aux_axes,
get_unstruct_indices, create_grid, get_grid_type, issgrid, isugrid
- Added are_same_grids
- Added fill support to Plot.Add_box
- Removed support for css and nat interpolations in griddata and xy2xy
- Fixed time cdtimes comparisons
- Fixed core_plot x/y attr check
- Fixed call to udunits
- Fixed linear4dto1dxx
- Fixed check_case
- Fixed Fix XYZ.togrid
- Fixed bugs due to new MPL
- Fixed regrid1d with cellave
- Fixed quiverkey_value
- Fixed import in stats
- Fixed gaussian2d
- Fixed extend1d inner slice and cyclic conditions
- Fixed cellerr1d errm slices
- Fixed output dim check in grid2xy
- Fixed lat/lon in Map
- Fixed coord2slice with e/n bounds specs

Version 3.5.1
=============

Expand Down
18 changes: 14 additions & 4 deletions lib/python/vacumm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf8 -*-
#
# Copyright or © or Copr. Actimar/IFREMER (2010-2017)
# Copyright or © or Copr. Actimar/IFREMER (2010-2018)
#
# This software is a computer program whose purpose is to provide
# utilities for handling oceanographic and atmospheric data,
Expand Down Expand Up @@ -37,11 +37,11 @@
from warnings import warn

__project__ = 'vacumm'
__version__ = '3.5.1'
__version__ = '3.6.0'
__release__ = '0'
__date__ = '2017-12-12'
__date__ = '2018-07-02'
__author__ = u'Stéphane Raynaud, Jonathan Wilkins, Guillaume Charria'
__email__ = 'raynaud@actimar.fr, [email protected], [email protected]'
__email__ = 'stephane.raynaud@gmail.com, [email protected], [email protected]'
__copyright__ = 'Copyright (c) 2010-2016 Actimar/IFREMER'
__description__ = """
VACUMM library
Expand Down Expand Up @@ -96,8 +96,18 @@ class VACUMMError(Exception):
class VACUMMWarning(UserWarning):
"""Standard VACUMM warning"""

class VACUMMDepWarning(DeprecationWarning, VACUMMWarning):
"""Deprecation VACUMM warning"""


def vacumm_warn(message, stacklevel=2):
"""Issue a :class:`VACUMMWarning`"""
warn(message, VACUMMWarning, stacklevel=stacklevel)

vcwarn = vacumm_warning = vacumm_warn

def vacumm_dep_warn(message, stacklevel=2):
"""Issue a :class:`VACUMMDepWarning`"""
warn(message, VACUMMDepWarning, stacklevel=stacklevel)

vcdwarn = vacumm_dep_warning = vacumm_dep_warn

0 comments on commit 6913306

Please sign in to comment.