Skip to content

Commit

Permalink
update 1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierpascalhenry committed Jul 15, 2020
1 parent 3c1c6d9 commit 9da34fa
Show file tree
Hide file tree
Showing 16 changed files with 282 additions and 464 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
\setlength{\voffset}{.0cm}

\logoeufar
\title{EUFAR, Olivier Henry}{}{EGADS Lineage Algorithm Handbook}{Version 1.2.6}
\title{EUFAR, Olivier Henry}{}{EGADS Lineage Algorithm Handbook}{Version 1.2.7}
%\author{}{}


Expand Down
Binary file not shown.
Binary file not shown.
19 changes: 19 additions & 0 deletions Documentation/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,30 @@ To do list:
- check feasability of an online algorithm database.
- add function to create algorithm template.
- add function to add a folder, somewhere on the hard drive, to the list of algorithms.
- add new tests to test each function of each class

To fix list:
------------


July 15 2020, Release version 1.2.7
==================================
The results of the following functions get_variable_list(), get_group_list() and get_dimension_list() for Hdf and NetCdf classes is the same type whatever the option used in each function. Now if details = True, get_variable_list() and get_group_list() return a list of string, each string is composed of the path to the group/variable + group/variable name. get_dimension_list() returns a dictionary of keys, composed of the path to the dimension + the dimension name, and values composed of the size of the dimension. It is the same schema than the one before 1.2.0.


MODIFIED:
- if an attribute is empty but exist in a file, it is now kept in EgadsData, and it can be written to a new file.
- in NasaAmes class, scale_factor and missing value have been removed from EgadsData metadata as they don't exist in NA file.
- get_variable_list() in Hdf and NetCdf classes returns a list of string. If details = True, each string is composed of the path to the variable + the variable name.
- get_group_list() in Hdf and NetCdf classes returns a list of string. If details = True, each string is composed of the path to the group + the group name.
- get_dimension_list() in Hdf and NetCdf classes returns a dictionary with keys as dimension name and values as dimension size. If details = True, each key is composed of the path to the dimension + the dimension name.

FIXED:
- in Hdf file, attribute created by H5py ['DIMENSION_LABELS', 'NAME', 'CLASS', 'REFERENCE_LIST', 'DIMENSION_LIST'] were transfered to EgadsData. It has been fixed.
- with Hdf file, variables at the root of the file have a path equal to '/', like netcdf file.
- test units have been fixed.


May 7 2020, Release version 1.2.6
=================================
FIXED:
Expand Down
2 changes: 1 addition & 1 deletion PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: egads-lineage
Version: 1.2.6
Version: 1.2.7
Summary: EGADS: EUFAR General Airborne Data-processing Software
Home-page: https://github.com/EUFAR/egads/tree/Lineage
Author: EUFAR, Olivier Henry
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Version:
-------

EGADS Lineage 1.2.6
EGADS Lineage 1.2.7


Developments:
Expand Down Expand Up @@ -38,7 +38,7 @@ Features:
* Fully documented algorithms
* I/O routines for common file formats:
* NetCDF
* Hdf
* Hdf5
* NASA Ames
* CSV
* ASCII
Expand Down
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '1.2.6'
version = '1.2.7'
# The full version, including alpha/beta/rc tags.
release = '1.2.6'
release = '1.2.7'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion egads/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '1.2.6'
__version__ = '1.2.7b'
__branch__ = 'Lineage'
6 changes: 5 additions & 1 deletion egads/core/egads_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def __new__(cls, value, units='', variable_metadata={}, dtype=None, **attrs):
:param VariableMetadata variable_metadata:
Optional - VariableMetadata dictionary object containing relevant metadata
for the current EgadsData instance.
:param string dtype:
Optional - String representation of the data format.
:param **attrs:
Optional - Keyword/value pairs of additional metadata which will be added into
the existing variable_metadata object.
Expand Down Expand Up @@ -78,9 +80,11 @@ def __init__(self, value, units='', variable_metadata=None, dtype='float64', **a
:param string units:
Optional - String representation of units to be used for current EgadsData instance, e.g.
'm/s', 'kg', 'g/cm^3', etc.
:param VariableMetadata variable_metadata:
:param VariableMetadata variable_metadata:
Optional - VariableMetadata dictionary object containing relevant metadata
for the current EgadsData instance.
:param string dtype:
Optional - String representation of the data format.
:param **attrs:
Optional - Keyword/value pairs of additional metadata which will be added into
the existing variable_metadata object.
Expand Down
Loading

0 comments on commit 9da34fa

Please sign in to comment.