Code |
Context $this->set('site',$site);
foreach($site['DataInfos'] as $dataInfo) {
if ($dataInfo['AnalyteStatus_old'] == 'Active') $results['activeAnalytes']++;
$site = array(
"SiteInfo" => array(
"SiteInfoRowID" => 1168,
"MonitoringPlanID" => 307,
"SiteCode" => "SSB",
"SiteName" => "Sacramento Slough Bridge near Karnak",
"SiteStatus" => "Active",
"Latitude" => "38.785",
"Longitude" => "-121.6533",
"Basin" => "Sacramento River",
"SubBasin" => "Sacramento River",
"TributaryWatershed" => "Colusa Basin",
"PhotoAvailable" => "No",
"GPSDataComment" => null,
"SiteInfoInternalComments" => "Core Monitoring",
"LastModified" => "2011-10-26 00:00:00"
),
"MonitoringPlan" => array(
"MonitoringPlanID" => 307,
"ProgramID" => 120,
"PermitID" => "ORDER NO. R5-2010-0805",
"MonitoringPlanName" => "California Rice Commission",
"MonitoringObjectives" => "The California Rice Commission (CRC) is enrolled under Amended Coalition Group Conditional Waiver of Waste Discharge Requirements for Discharges from Irrigated Lands, Order No. R5-2006-0053 (Waiver). The CRC represents individual rice growers in the Sacramento Valley and covers approximately 500,000 acres.
The CRC has been monitoring water quality and reporting monitoring results to the Central Valley Water Board's Irrigated Lands Regulatory Program since September 2004. The results indicate that water quality is impacted by unknown source(s) for aquatic algae toxicity and the Executive Officer has requested the preparation of a Management Plan to address the impact. The Management Plan sites are identified as Special Project monitoring sites.",
"StartDate" => "2003-07-11 00:00:00",
"EndDate" => null,
"AnnualBudget" => "Not Stated",
"FundingSource" => "",
"MonPlanStatus" => "Active",
"URL" => "http://www.waterboards.ca.gov/centralvalley/water_issues/irrigated_lands/monitoring_plans_reports_reviews/monitoring_reporting_program_plans/coalitions/california_rice_commission/index.shtml",
"LastModified" => "2011-10-20 13:27:53"
),
"DataInfos" => array(
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array()
)
)
$plan = array(
"MonitoringPlan" => array(
"MonitoringPlanID" => 307,
"ProgramID" => 120,
"PermitID" => "ORDER NO. R5-2010-0805",
"MonitoringPlanName" => "California Rice Commission",
"MonitoringObjectives" => "The California Rice Commission (CRC) is enrolled under Amended Coalition Group Conditional Waiver of Waste Discharge Requirements for Discharges from Irrigated Lands, Order No. R5-2006-0053 (Waiver). The CRC represents individual rice growers in the Sacramento Valley and covers approximately 500,000 acres.
The CRC has been monitoring water quality and reporting monitoring results to the Central Valley Water Board's Irrigated Lands Regulatory Program since September 2004. The results indicate that water quality is impacted by unknown source(s) for aquatic algae toxicity and the Executive Officer has requested the preparation of a Management Plan to address the impact. The Management Plan sites are identified as Special Project monitoring sites.",
"StartDate" => "2003-07-11 00:00:00",
"EndDate" => null,
"AnnualBudget" => "Not Stated",
"FundingSource" => "",
"MonPlanStatus" => "Active",
"URL" => "http://www.waterboards.ca.gov/centralvalley/water_issues/irrigated_lands/monitoring_plans_reports_reviews/monitoring_reporting_program_plans/coalitions/california_rice_commission/index.shtml",
"LastModified" => "2011-10-20 13:27:53"
),
"Program" => array(
"ProgramID" => 120,
"ProgramStatus" => "Active",
"MonitoringProgram" => "Irrigated Lands Regulatory Program",
"URL" => "http://www.waterboards.ca.gov/centralvalley/water_issues/irrigated_lands/index.shtml",
"MonitoringObjectives" => "-Assess the impacts of waste discharges from irrigated lands to surface water.
-Determine degree of implementation of management practices to reduce discharge of specific wastes that impact water quality.
-Determine the effectiveness of management practices and strategies to reduce discharges of wastes that impact water quality.
-Determine concentration and load of waste in these discharges to surface waters.
-Evaluate compliance with existing narrative and numeric water quality objectives to determine if additional implementation of management practices is necessary to improve and/or protect water quality.",
"StartDate" => "2002-11-23 00:00:00",
"EndDate" => null,
"AnnualBudget" => "",
"FundingSource" => "",
"LastModified" => "2009-03-24 14:20:00"
),
"Sites" => array(
array(),
array(),
array(),
array(),
array(),
array(),
array()
),
"Contacts" => array(
array()
),
"MetaInfos" => array(
array(),
array()
),
"Organizations" => array(
array(),
array()
)
)
$program = array(
"Program" => array(
"ProgramID" => 120,
"ProgramStatus" => "Active",
"MonitoringProgram" => "Irrigated Lands Regulatory Program",
"URL" => "http://www.waterboards.ca.gov/centralvalley/water_issues/irrigated_lands/index.shtml",
"MonitoringObjectives" => "-Assess the impacts of waste discharges from irrigated lands to surface water.
-Determine degree of implementation of management practices to reduce discharge of specific wastes that impact water quality.
-Determine the effectiveness of management practices and strategies to reduce discharges of wastes that impact water quality.
-Determine concentration and load of waste in these discharges to surface waters.
-Evaluate compliance with existing narrative and numeric water quality objectives to determine if additional implementation of management practices is necessary to improve and/or protect water quality.",
"StartDate" => "2002-11-23 00:00:00",
"EndDate" => null,
"AnnualBudget" => "",
"FundingSource" => "",
"LastModified" => "2009-03-24 14:20:00"
),
"Plans" => array(
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array()
),
"Organizations" => array(
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array(),
array()
)
)
$results = array(
"analyteCount" => 0,
"activeAnalytes" => 0,
"inActiveAnalytes" => 0
)
$dataInfo = array(
"DataInfoRowID" => 70832,
"MonitoringPlanID" => 307,
"SiteInfoRowID" => 1168,
"SampleType" => "Water Quality",
"SampleTypeDetail" => null,
"AnalyteGroup" => "General Water Quality",
"AnalyteName" => "Dissolved Oxygen (DO)",
"AnalyteDetail" => null,
"FractionName" => "Not Applicable",
"Frequency" => "Monthly",
"FrequencyDetail" => null,
"DataInternalComments" => null,
"LastModified" => "2010-05-20 00:00:00"
)
SiteInfosController::checkActive() - APP/controllers/site_infos_controller.php, line 496
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83