Skip to main content

Fast calculate the cyclone ACE.

Project description

# ACEcalc

> This is beta version.

> the code is not complete.

Fast calculate the cyclone ACE.

## Library description

add_knot:

Add the knots.

_example_:

`py import ACE_calc ACE_calc.set_mode(ACE_calc.TROPICAL) ACE_calc.add_knot(50) ACE_calc.add_knot(45, 2) ACE_calc.add_knot(35, 2, 1) ACE_calc.output_knot() `

output:

`index = 1, knots = 50, mode = tropical index = 2, knots = 35, mode = subtropical index = 3, knots = 45, mode = subtropical `

_parameters_:

knots:int: The knots you want to add.

mode=now_mode: The mode you want to add.

index:int=len(ACE_list): The index you want to insert in the after.

_raises_:

ValueError: Your input or mode is invalid.

### add_knots

Add the some knots.

_example_:

`py import ACE_calc ACE_calc.set_mode(ACE_calc.TROPICAL) ACE_calc.add_knots(50, 3) ACE_calc.output_knot() `

output:

`index = 1, knots = 50, mode = tropical index = 2, knots = 50, mode = subtropical index = 3, knots = 50, mode = subtropical `

_parameters_:

knots:int: The knots you want to add. mode=now_mode: The mode you want to add. index=len(ACE_list): The index you want to insert in the after.

_raises_:

ValueError: Your input or mode is invalid.

### output_knots

Format print your knot list.

_exmanple_: `py import ACE_calc ACE_calc.set_mode(ACE_calc.TROPICAL) ACE_calc.add_knot(50) ACE_calc.output_knot() `

### output:

` index = 1, knots = 50, mode = tropical `

— ### get_konts_indexed

Get all the ACE indexes (index starts from 1).

_exmanple_: `py ACE_calc.add_knot(50) ACE_calc.add_knot(45, 2) ACE_calc.add_knot(50, 2, 1) get_ACE_indexes(50) `

output:

` "[1, 2]" `

_parameters_:

knots:int: The knots you want to search.

_returns_:

list[int]:

All the knots list.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ace_calc-0.0.1.dev0-py3-none-any.whl (7.1 MB view details)

Uploaded Python 3

File details

Details for the file ace_calc-0.0.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: ace_calc-0.0.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for ace_calc-0.0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b8fbc2f137a2d65dc9969370e09b6fd0a53d8f916a9e8d5b30cdc1f3c4eca91
MD5 3bf61d89ec273ad840142c2c257ebf7c
BLAKE2b-256 2e0fe0d37ad39aed151e7a76ccab78505840102f5dad010953a1c0070b00e6dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page