Skip to content
Back to skills

License Check

ASecurity

Sub-skill of orcaflex-modeling: License Check (+2).

  • 17 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
developmentpythongogit

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add vamseeachanta/workspace-hub --skill license-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of License Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for License Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-license-check/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-license-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: orcaflex-modeling-license-check
description: 'Sub-skill of orcaflex-modeling: License Check (+2).'
version: 2.0.0
category: engineering
type: reference
scripts_exempt: true
---

# License Check (+2)

## License Check


```python
from digitalmodel.orcaflex.orcaflex_utilities import OrcaflexUtilities

utils = OrcaflexUtilities()
if utils.is_orcaflex_available():
    print("OrcaFlex license available")
else:
    print("Running in mock mode")
```

## Model Loading


```python
# Load simulation with metadata
model, metadata = utils.get_model_and_metadata("simulation.sim")
print(f"Simulation period: {metadata['period']} seconds")
print(f"Time step: {metadata['timestep']} seconds")
```

## Wave Calculations


```python
# Calculate theoretical maximum wave height
Hmax = utils.get_theoretical_hmax({
    "Hs": 6.0,          # Significant wave height (m)
    "Tp": 12.0,         # Peak period (s)
    "duration": 3600,   # Storm duration (s)
    "gamma": 3.3        # JONSWAP peakedness
})
print(f"Theoretical Hmax: {Hmax:.2f} m")

# Calculate associated period
Tassociated = utils.get_tassociated(Hmax, Tp=12.0)
print(f"Associated period: {Tassociated:.2f} s")
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.