NAME
Rinchi::CIGIPP::AerosolConcentrationResponse - Perl extension for the Common Image Generator Interface - Aerosol Concentration Response data packet. data packet. =head1 SYNOPSIS
use Rinchi::CIGIPP::AerosolConcentrationResponse;
my $ac_resp = Rinchi::CIGIPP::AerosolConcentrationResponse->new();
$packet_type = $ac_resp->packet_type();
$packet_size = $ac_resp->packet_size();
$request_ident = $ac_resp->request_ident(38);
$layer_ident = $ac_resp->layer_ident(78);
$aerosol_concentration = $ac_resp->aerosol_concentration(59.538);
DESCRIPTION
The Aerosol Concentration Response packet is sent in response to an Environmental Conditions Request packet whose Request Type attribute specifies Aerosol Concentrations. The packet describes the concentration of airborne particles associated with a specific weather layer.
The aerosol type is determined by the weather layer ID. If two or more global or regional weather layers overlap and have the same layer ID, the concentration of that aerosol is the average of the concentrations due to each layer.
EXPORT
None by default.
#==============================================================================
- new $ac_resp = Rinchi::CIGIPP::AerosolConcentrationResponse->new()
-
Constructor for Rinchi::AerosolConcentrationResponse.
- sub packet_type()
-
$value = $ac_resp->packet_type();
Data Packet Identifier.
This attribute identifies this data packet as the Aerosol Concentration Response packet. The value of this attribute must be 110.
- sub packet_size()
-
$value = $ac_resp->packet_size();
Data Packet Size.
This attribute indicates the number of bytes in this data packet. The value of this attribute must be 8.
- sub request_ident([$newValue])
-
$value = $ac_resp->request_ident($newValue);
Request ID.
This attribute identifies the environmental conditions request to which this response packet corresponds.
- sub layer_ident([$newValue])
-
$value = $ac_resp->layer_ident($newValue);
Layer ID.
This attribute identifies the weather layer whose aerosol concentration is being described. Thus, this attribute indicates the aerosol type to which this packet corresponds.
- sub aerosol_concentration([$newValue])
-
$value = $ac_resp->aerosol_concentration($newValue);
Aerosol Concentration.
This attribute identifies the concentration of airborne particlesmeasured in grams/cubic meter. The type of particle is identified by the Layer ID attribute.
- sub pack()
-
$value = $ac_resp->pack();
Returns the packed data packet.
- sub unpack()
-
$value = $ac_resp->unpack();
Unpacks the packed data packet.
- sub byte_swap()
-
$obj_name->byte_swap();
Byte swaps the packed data packet.
SEE ALSO
Refer the the Common Image Generator Interface ICD which may be had at this URL: http://cigi.sourceforge.net/specification.php
AUTHOR
Brian M. Ames, <bmames@apk.net>
COPYRIGHT AND LICENSE
Copyright (C) 2009 by Brian M. Ames
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6 or, at your option, any later version of Perl 5 you may have available.
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 72:
'=item' outside of any '=over'
- Around line 288:
You forgot a '=back' before '=head1'