ClimApp lets you record your own meteorological readings through a dedicated form atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/elenacarino-max/mas-climapp/llms.txt
Use this file to discover all available pages before exploring further.
/registro. This is designed for users with home weather stations or anyone who wants to log field observations and later compare them against official AEMET data.
How to log a measurement
Navigate to/registro in your browser. The form accepts the following fields:
Fecha
Date of the measurement. The system accepts
DD/MM/YYYY, DD-MM-YYYY, and YYYY-MM-DD formats.Municipio
The municipality name where the measurement was taken (e.g.,
Madrid).Estación AEMET
The AEMET station ID associated with your location. This links your record to the nearest official station for future comparisons.
Temperatura
Air temperature in °C. Must be between -50 and 60.
Humedad
Relative humidity as a percentage. Must be between 0 and 100.
Viento
Wind speed in km/h. Must be 0 or greater.
Lluvia
Precipitation in mm. Must be 0 or greater.
Validation rules
Before any record is saved, every field passes through the validation layer inutils/validators.py. Submitting a record that fails any of these checks causes the entire record to be rejected — nothing is persisted.
| Field | Rule |
|---|---|
fecha | Must be a parseable date in a recognised format |
temperatura | Must be a number between -50 and 60 (°C) |
humedad | Must be a number between 0 and 100 (%) |
viento | Must be a number ≥ 0 (km/h) |
lluvia | Must be a number ≥ 0 (mm) |
Where your record is saved
Valid records are written to two separate storage layers:JSON file
The record is appended to
data/registros_climaticos.json. This file is used by the history and comparison features to filter and retrieve records quickly.Example record
A valid manual entry looks like this once it is stored:fuente field is always set to "manual" for user-submitted records. This tag distinguishes them from automatically saved AEMET readings (tagged "aemet") when filtering the history or running a comparison.
Alert evaluation
After validation, the record is passed throughAlertService before it is saved. If any thresholds are exceeded, the API response includes a list of alert codes:
alertas contains ["VERDE"].