Published package / CLIR

us.nws.heat_index

v0.1.0

Индекс жары NWS: формула Ротфуса (фрагмент) и классификация с числовыми границами по странице офиса NWS Amarillo

A package can be printed as a standalone module in a general-purpose language that answers without the rules engine: an answer and its status, with no proof, hashes or canonical document. Everything on this page comes from the generation plan built with the index; the gallery computes nothing of its own.

Generation plan

The plan builds: the package can be printed as a module.

plan format
law-backend-plan/0.7
capabilities
base layer only

Checked against package scenarios

Not checked: the package scenarios have not been run against generated modules. A plan that builds does not yet show that the answers coincide.

Target languages

print this planbslcsdarterlexgojavaktluaphppyrbrsscalaswiftts

Print the module from a repository checkout

./law dev backend corpus/clir/us-nws-heat-index.lawir.json --target ts --target py --target go --out DIR

Module interface

Questions are public relations with a producing rule; inputs are the facts a question reads. Function names follow the language: ask_… in Python, ask.… in TypeScript, Ask… in Go.

Questions · 5

NameParametersMeaningReadsSources
class_from_fenum, decclass open upwards from this heat index valueno inputs
class_range_fenum, dec, decinclusive heat index range of a class, degrees Fahrenheitno inputs
dangerous_heat_disorders_from_fdecheat indices meeting or exceeding this value can lead to dangerous heat disorders with prolonged exposure or physical activityno inputs
full_sunshine_adds_up_to_fdecexposure to direct sunlight can increase the heat index by up to this many degreesno inputs
index_applies_to_shadethe heat index values are for shady locationsno inputs

Inputs · 0