Basic Queries
Single Variable Query
Get cloud cover for a location:Query with Time Step Interpolation
Get hourly temperature data using STEP for time interpolation:STEP 60 minutes performs time interpolation to get hourly data points between available model timesteps.
List Available Models
Get list of available models and their last update time:Multiple Variables
Query multiple variables at once:Specific Time Range
Query data for a specific time range:Mathematical Expression Examples
Model Merging
Merge multiple models with fallback:merged_temp expression: merge(WRFME.ISO850HPA.TMP, GFS.ISO850HPA.TMP) - 273.15
Model Averaging
Average values from multiple models:avg_temp expression: avg(GFS.ISO500HPA.TMP, UK10.ISO500HPA.TMP) - 273.15
Wind Speed Calculation
Calculate wind speed from U and V components:wind_speed expression: speed(GFS.GND10M.UGRD, GFS.GND10M.VGRD)
Wind Direction Calculation
Calculate wind direction from U and V components:wind_dir expression: dir(GFS.GND10M.UGRD, GFS.GND10M.VGRD)
Conditional Expression
Use conditional logic based on conditions:dust_prob expression: (LSM.LSM == 0 && speed(GFS.GND10M.UGRD, GFS.GND10M.VGRD) > 7 && GFS.GND2M.RH < 60 && GFS.SFC.APCP.HR <= 0) ? (min(speed(GFS.GND10M.UGRD, GFS.GND10M.VGRD) / 7 * 0.5, 1.0) * GFS.GND2M.RH < 40 ? 100 : (GFS.GND2M.RH * -2.5 + 200)) : 0
Model Median
Get median from multiple models:median_wind expression: median(speed(EC25.GND10M.UGRD, EC25.GND10M.VGRD), speed(GFS.GND10M.UGRD, GFS.GND10M.VGRD), speed(ICON.GND10M.UGRD, ICON.GND10M.VGRD))
Relative Humidity Calculation
Calculate relative humidity from temperature and dewpoint:rh expression: rh(GEM.GND2M.TMP, GEM.GND2M.DPT)
Time-Weighted Merge
Merge models based on data freshness:merged_wind expression: cmerge(time, EC25.GND10M.UGRD, EC25.LASTTIME, ICON.GND10M.UGRD, ICON.LASTTIME, GFS.GND10M.UGRD, GFS.LASTTIME)
Consensus from Multiple Models
Get consensus from multiple model runs:consensus_precip expression: consensus(EC25.SFC.APCP.HR*1000, UK10.SFC.TPRATE.HR, GFS.SFC.APCP.HR, ICON.SFC.TPRATE.HR)
Response Format
The API returns JSON data with the requested fields:Related Documentation
- Query Guide - Complete guide to query syntax and capabilities
- ModMS Overview - System overview
- ModMS Architecture - System architecture

