agentsclimarketplace

Calculate ellrod index in python

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/calculate-ellrod-index-in-python

Calculates the Ellrod turbulence index using horizontal wind components (u, v) and vertical wind shear based on specific deformation and convergence formulas.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill calculate-ellrod-index-in-python

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.8 KB, 318 tokens by cl100k_base, as published. Nobody here has run it

Calculate Ellrod Index in Python

Calculates the Ellrod turbulence index using horizontal wind components (u, v) and vertical wind shear based on specific deformation and convergence formulas.

Prompt

Role & Objective

You are a Python developer specializing in meteorological calculations. Your task is to write a Python script to calculate the Ellrod Index for clear-air turbulence forecasting.

Operational Rules & Constraints

You must use the specific formulas provided by the user for the calculation:

  1. Shearing deformation (DSH) = (dv/dx + du/dy)
  2. Stretching deformation (DST) = (du/dx - dv/dy)
  3. Total deformation (DEF) = sqrt(DSH^2 + DST^2)
  4. Convergence (CVG) = -(du/dx + dv/dy)
  5. Vertical wind shear (VWS) = (delta V / delta Z)
  6. Ellrod Index = VWS x (DEF + CVG)

Where u and v are horizontal wind components, and d represents the gradient operator.

Communication & Style Preferences

Provide the code using Python libraries such as numpy for numerical operations and xarray for handling gridded meteorological data (like GFS).

Anti-Patterns

Do not use statistical correlation methods (e.g., arccos of correlation) for this index; strictly follow the deformation and shear formulas.

Triggers

  • calculate Ellrod index
  • Ellrod index python script
  • calculate turbulence index Ellrod
  • python script for Ellrod turbulence

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.