Geo-parameters

Latest version: v0.9.4

Safety actively analyzes 687942 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.5.3

The `HsMax` parameter has been renamed to the proper name `Hmax`

0.5.1

Added a `wave.Dirs` class that is agnostic to the to/from direction. Non-cf standard_name `'wave_direction'`

0.5.0

The `find_me_in_ds` method was fixed to also search for coordinates, not only data_variables.

The default behaviour is now to return a list of all matching names. The previous default behaviour of returning only the first matching name as a sting can be activated by setting `return_first = True`

0.4.11

Every parameter now has a `dir_type` method

It parses the standard name searching for `direction_to` or `direction_from` in the string, and returns a string `'to'` or `'from'` respectively

If no such information is found in the standard name, then it returns `None`

Example:


>> import geo_parameters as gp

>> gp.wave.Dirp.dir_type()
'from'

>> param = gp.ocean.CurrentDir()
>> param.dir_type()
'to'

>> gp.wave.Hs.dir_type()
None

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.