Catalog PyPI
PACKAGE EXPLORERView in registry

ACE-calc

PyPI

Fast calculate the cyclone ACE.

Versions collected1
Direct dependencies0From release 0.1.0
Last observed20 Oct, 18:05 UTC

README

Version 0.1.0 documentation
# 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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.02 May 20250

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
xystudio889/acecalc

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:05 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:0856c529e34d07f6ffbbde38237a59265e4effcfcec83cda29b33a6d0cd79073