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 Distribution

ace_calc-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

ace_calc-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file ace_calc-0.1.0.tar.gz.

File metadata

  • Download URL: ace_calc-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for ace_calc-0.1.0.tar.gz
Algorithm Hash digest
SHA256 139d7a289851cd3de91ae3eaed9603337091dd8e5159c17d62752896910d6250
MD5 2fbf5f5f3c9f5abdb9b1e79171997eb0
BLAKE2b-256 d3a182090df4d30efd29ff60a57c7bfd79b55a3b2c6509d790fec7d51b98b336

See more details on using hashes here.

File details

Details for the file ace_calc-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ace_calc-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for ace_calc-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5c867e6da0a25543c5d288b4c90097830a8935d98be133743a3df429be383b36
MD5 910d4da4369207cba3cd86dd3de46623
BLAKE2b-256 321179989e8def982d4adf8e79227fe2209a4f9f18a9f66f1730bd2e8d460018

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