HAMweather 3 - MOS Plug-in

Contents:

Overview

The MOS plug-in allows HW3 to parse the AVNMOS, ETAMOS and NGMMOS forecast models. These models provide forecast information in three (3) hour intervals for many locations across the US, typically based on ICAO locations.

The MOS plug-in actually consists of one modules with three internal routines. One each for accessing the various MOS models

Routine Name Description
AVNMOS


 

NGMMOS
 
ETAMOS  


Requirements:

The MOS plug-in is included with the core HW3 distribution thus has the same requirements as the core distribution.

Installation:

The MOS plug-in is included with the core HW3 distribution thus is installed with the HAMweather 3 Core.

NOTE: The MOS plug-in uses as ICAO to fetch the MOS data. If an ICAO is not specifically provided to HW3 then the MOS plug-in will use the closest ICAO  information from the altplace databases when a US location is entered. The freeware databases that come with the HW3 distribution do not contain the closest ICAO information. Thus when using the MOS plug-in you will need to:

  1. Specifically provide an ICAO when you call hw3.php:
        
        hw3.php?forecast=avnmos&icao=kbcb
  2. Enter the closest ICAO information in the freeware altplace databases per the documentation.
  3. Subscribe to the HWdb Update service, which provides access to the latest Altplace and zipcode databases. The altplace databases obtained through the HWdb Update service also include the closest ICAO information, so you would not have to manually enter it. Also if you register HW3, you receive one free month of access to the HWdb Update Service.

INI Configuration:

The MOS plug-in is pre-configured upon installation and should work with out error.  Each module of the MOS plug-in has its own INI file (fc_avnmos.ini and fc_ngmmos.ini) which follow the Standard Plug-in INI file format.

Accessing:

For instructions on accessing and using HW3 review the HW3 access instructions.  To access the different MOS data you will need to set the 'forecast' or 'do' parameter to one of the following:

Parameter 
Setting
Description
forecast=avnmos Used to fetch the AVNMOS forecast model for an ICAO. For US locations only.
forecast=ngmmos Used to fetch the NGMMOS forecast model for an ICAO. For US locations only.
forecast=etamos Used to fetch the ETAMOS forecast model for an ICAO. For US locations only.

NOTE: Review the notice in the installation section about the required ICAO parameter.

To access the avnmos data you will need to set the 'forecast' or 'do' parameter to "avnmos". Thus if you call HW3 from a url simply to get the avnmos information then you will call HW3 like:

Using specific icao:
hw3.php?forecast=avnmos&icao=kbcb

If your Altplace files have the closest ICAO info in them (See Note):
hw3.php
?forecast=avnmos&zipcode=24060

 

To access the ngmmos data you will need to set the 'forecast' or 'do' parameter to "ngmmos". Thus if you call HW3 from a url simply to get the avnmos information then you will call HW3 like:

Using specific icao:
hw3.php?forecast=ngmmos&icao=kbcb

If your Altplace files have the closest ICAO info in them (See Note):
hw3.php
?forecast=ngmmos&zipcode=24060

 

To access the etamos data you will need to set the 'forecast' or 'do' parameter to "etamos". Thus if you call HW3 from a url simply to get the avnmos information then you will call HW3 like:

Using specific icao:
hw3.php?forecast=etamos&icao=kbcb

If your Altplace files have the closest ICAO info in them (See Note):
hw3.php
?forecast=etamos&zipcode=24060

 

Parameters:

As with all HW3 plug-ins, you can use any of the core HW3 parameters to specify the location that weather information is needed for.  

Template Variables:

The ZandH plug-in offers the following template variables, broken down by module:

AVNMOS and NGMMOS Template Variables
Template
Variable
Description
%%mos_found%% Set to a non zero value (1) if mos model was found.
%%mos_text%% The actual text of the requested MOS model.
%%mos_total%%  
%%total_hours%%  
%%mos_date%%  
%%mos_time%%  
%%mos_year%%  
%%mos_mon%%  
%%mos_year%%  
The following correspond to the equivalent item in the forecast text, unless otherwise noted
%%get_mos_item#vvHR%% The hour of the day that "#" represents.
%%get_mos_item#vvHR_FULL%% The hour of the day, in 12 hour format and adjusted for the locations local time.
%%get_mos_item#vvN_X%%  
%%get_mos_item#vvTMP%% The temperature for hour "#".
%%get_mos_item#vvDPT%% The dewpoint for hour "#".
%%get_mos_item#vvCLD%% The 
%%get_mos_item#vvCLD_FULL%%  
%%get_mos_item#vvWDR%%  
%%get_mos_item#vvWDR_FULL%%  
%%get_mos_item#vvWSP%%  
%%get_mos_item#vvP06%%  
%%get_mos_item#vvP12%%  
%%get_mos_item#vvQPF%%  
%%get_mos_item#vvT06%%  
%%get_mos_item#vvT12%%  
%%get_mos_item#vvPOZ%%  
%%get_mos_item#vvPOS%%  
%%get_mos_item#vvTYP%%  
%%get_mos_item#vvTYP_FULL%%  
%%get_mos_item#vvCIG%%  
%%get_mos_item#vvCIG_FULL%%  
%%get_mos_item#vvVIS%%  
%%get_mos_item#vvVIS_FULL%%  
%%get_mos_item#vvOBV%%  
%%get_mos_item#vvOBV_FULL%%  
%%get_mos_item#vvSNW%%  
%%mos_rh#%%  
%%mos_wx#%%  
%%mos_wx_icon#%%