diff --git a/application/default/controllers/HiwaterController.php b/application/default/controllers/HiwaterController.php index 536ef2f4..2d27245c 100644 --- a/application/default/controllers/HiwaterController.php +++ b/application/default/controllers/HiwaterController.php @@ -13,23 +13,23 @@ class HiwaterController extends DataController { $this->view->pageIn = "collapse1"; } - else if(in_array($acName,array("forest","dyk","plg"))) + else if(in_array($acName,array("airborne","vegstructure","vegtype","vegparam","dem","dsm","temperature","soilmoisture"))) { $this->view->pageIn = "collapse2"; } - else if(in_array($acName,array("arid","hzz","yk",'zy','zynoc','lzg','lzs'))) + else if(in_array($acName,array("hmon","autometeo","ec",'las','prec'))) { $this->view->pageIn = "collapse3"; } - else if(in_array($acName,array("meteo","autometeo","mobilemeteo","ec",'las','normalmeteo','regionalmeteo','doppler','hydro','airsounding'))) + else if(in_array($acName,array("cgs","calibration","ground",'sync'))) { $this->view->pageIn = "collapse4"; } - else if(in_array($acName,array("radiometer","airebone","lidar","widas",'asd'))) + else if(in_array($acName,array("wsn","waternet","soilnet","bnunet",'bnulai'))) { $this->view->pageIn = "collapse5"; } - else if(in_array($acName,array("satellite"))) + else if(in_array($acName,array("other"))) { $this->view->pageIn = "collapse6"; } @@ -93,12 +93,12 @@ class HiwaterController extends DataController function aviationAction() { - $this->getmd(array('航空遥感','WiDAS')); + $this->getmd(array('航空遥感','WiDAS','PLMR','Lidar','CASI','热红外高光谱数据')); $this->_helper->viewRenderer('base'); } function radiometerAction() { - $this->getmd(array('航空遥感','PLMR')); + $this->getmd(array('','PLMR')); $this->_helper->viewRenderer('base'); } function lidarAction() @@ -113,7 +113,7 @@ class HiwaterController extends DataController } function nearvisAction() { - $this->getmd(array('航空遥感','CASI')); + $this->getmd(array('','CASI')); $this->_helper->viewRenderer('base'); } function thermalAction() @@ -122,91 +122,130 @@ class HiwaterController extends DataController $this->_helper->viewRenderer('base'); } - function baseAction() + function airborneAction() { - $page=(int)$this->_request->getParam('page'); - if (empty($page)) $page=1; - $offset=$this->limit*($page-1); - $state=$this->db->query("select count(*) from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化' or keyword='基础地理' or keyword='遥感影像' or keyword='水文地质' or keyword='社会经济' or keyword='人口' or keyword='SWAT' or keyword='NPP' or keyword='WRF' or keyword='辐射' or keyword='NEP'))"); - $row=$state->fetchAll(); - $sum=$row[0]['count']; - $sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化' or keyword='基础地理' or keyword='遥感影像' or keyword='水文地质' or keyword='社会经济' or keyword='人口' or keyword='SWAT' or keyword='NPP' or keyword='WRF' or keyword='辐射' or keyword='NEP')) order by timebegin,title limit ? offset ?"; - $this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset)); - $this->view->page=new Pagination($sum,$page,$this->limit); - $this->view->offset=$offset+1; + $this->getmd(array('航空遥感产品','种植结构图','植被类型图','植被结构参数','数字高程模型','数字表面模型','地表温度','地表土壤水文')); + $this->_helper->viewRenderer('base'); } - - function geobaseAction() + function vegstructureAction() { - $this->getmd('基础地理'); + $this->getmd(array('','种植结构图')); + $this->_helper->viewRenderer('base'); } - - function coreAction() + function vegtypeAction() { - $page=(int)$this->_request->getParam('page'); - if (empty($page)) $page=1; - $offset=$this->limit*($page-1); - $state=$this->db->query("select count(*) from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') and id in (select id from keyword where keytype='theme' and (keyword='DEM' or keyword='土地利用' or keyword='土壤' or keyword='气象' or keyword='水文观测' or keyword='灌溉' or keyword='试验'))"); - $row=$state->fetchAll(); - $sum=$row[0]['count']; - $sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') and id in (select id from keyword where keytype='theme' and (keyword='DEM' or keyword='土地利用' or keyword='土壤' or keyword='气象' or keyword='水文观测' or keyword='灌溉' or keyword='试验')) order by timebegin,title limit ? offset ?"; - $this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset)); - $this->view->page=new Pagination($sum,$page,$this->limit); - $this->view->offset=$offset+1; + $this->getmd(array('','植被类型图')); + $this->_helper->viewRenderer('base'); + } + function vegparamAction() + { + $this->getmd(array('','植被结构参数')); + $this->_helper->viewRenderer('base'); } - function demAction() { - $this->getmd('DEM'); + $this->getmd(array('','数字高程模型')); + $this->_helper->viewRenderer('base'); + } + function dsmAction() + { + $this->getmd(array('','数字表面模型')); + $this->_helper->viewRenderer('base'); + } + function temperatureAction() + { + $this->getmd(array('','地表温度')); + $this->_helper->viewRenderer('base'); + } + function soilmoistureAction() + { + $this->getmd(array('','地表土壤水文')); + $this->_helper->viewRenderer('base'); + } + + function hmonAction() + { + $this->getmd(array('自动气象站','涡动相关仪','大孔径闪烁仪','河川径流观测')); + $this->_helper->viewRenderer('base'); + } + function autometeoAction() + { + $this->getmd(array('','自动气象站')); + $this->_helper->viewRenderer('base'); + } + function ecAction() + { + $this->getmd(array('','涡动相关仪')); + $this->_helper->viewRenderer('base'); + } + function lasAction() + { + $this->getmd(array('','大孔径闪烁仪')); + $this->_helper->viewRenderer('base'); + } + function precAction() + { + $this->getmd(array('','河川径流观测')); + $this->_helper->viewRenderer('base'); + } + + function cgsAction() + { + $this->getmd(array('定标观测','地基遥感观测','地面同步观测')); + $this->_helper->viewRenderer('base'); + } + function calibrationAction() + { + $this->getmd(array('','定标观测')); + $this->_helper->viewRenderer('base'); + } + function groundAction() + { + $this->getmd(array('','地基遥感观测')); + $this->_helper->viewRenderer('base'); + } + function syncAction() + { + $this->getmd(array('','地面同步观测')); + $this->_helper->viewRenderer('base'); } - function rsAction() + function wsnAction() { - $this->getmd('遥感影像'); + $this->getmd(array('WATERNET','SoilNET','BNUNET','BNULAI')); + $this->_helper->viewRenderer('base'); + } + function waternetAction() + { + $this->getmd(array('','WATERNET')); + $this->_helper->viewRenderer('base'); + } + function soilnetAction() + { + $this->getmd(array('','SoilNET')); + $this->_helper->viewRenderer('base'); + } + function bnunetAction() + { + $this->getmd(array('','BNUNET')); + $this->_helper->viewRenderer('base'); + } + function bnulaiAction() + { + $this->getmd(array('','BNULAI')); + $this->_helper->viewRenderer('base'); } - function waterAction() + function satelliteAction() { - $this->getmd('水文地质'); - } - - function modelAction() - { - $page=(int)$this->_request->getParam('page'); - if (empty($page)) $page=1; - $offset=$this->limit*($page-1); - $state=$this->db->query("select count(*) from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') and id in (select id from keyword where keytype='theme' and (keyword='WRF' or keyword='NPP' or keyword='SWAT' or keyword='NEP' or keyword='辐射'))"); - $row=$state->fetchAll(); - $sum=$row[0]['count']; - $sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') and id in (select id from keyword where keytype='theme' and (keyword='WRF' or keyword='NPP' or keyword='SWAT' or keyword='NEP' or keyword='辐射')) order by timebegin,title limit ? offset ?"; - $this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset)); - $this->view->page=new Pagination($sum,$page,$this->limit); - $this->view->offset=$offset+1; - } - - - function landsurfaceAction() - { - $page=(int)$this->_request->getParam('page'); - if (empty($page)) $page=1; - $offset=$this->limit*($page-1); - $state=$this->db->query("select count(*) from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化'))"); - $row=$state->fetchAll(); - $sum=$row[0]['count']; - $sql="select uuid,title from normalmetadata where uuid in (select d.uuid from datasource d left join source s on d.sourceid=s.id where s.code='hiwater') and id in (select id from keyword where keytype='theme' and (keyword='冰川' or keyword='沙漠' or keyword='地貌' or keyword='植被' or keyword='草场' or keyword='沙漠化')) order by timebegin,title limit ? offset ?"; - $this->view->metadata=$this->db->fetchAll($sql,array($this->limit,$offset)); - $this->view->page=new Pagination($sum,$page,$this->limit); - $this->view->offset=$offset+1; - } - - function landuseAction() - { - $this->getmd('土地利用','theme'); + $this->getmd(array('','卫星遥感')); + $this->_helper->viewRenderer('base'); } function soilAction() { - $this->getmd('土壤','theme'); + $this->getmd(array('','卫星遥感')); + $this->_helper->viewRenderer('base'); } function meteoAction() @@ -272,7 +311,7 @@ class HiwaterController extends DataController //$form->submit->setLabel('快速搜索'); $key=$this->_request->getParam('q'); if (!empty($key)) { - $search=new Search($key); + $search=new SimpleSearch($key); $where=$search->sql_expr(array("title","description")); $page=@(int)$this->_request->getParam('page'); if (empty($page)) $page=1; diff --git a/application/default/views/scripts/hiwater/base.phtml b/application/default/views/scripts/hiwater/base.phtml index c956349f..58cc53e7 100644 --- a/application/default/views/scripts/hiwater/base.phtml +++ b/application/default/views/scripts/hiwater/base.phtml @@ -16,7 +16,6 @@ $this->nav[] = array('link'=>"/water",'title'=>'黑河生态水文遥感试验') info['body'])) echo $this->info['body'];?> -
metadata) : ?> page->getNavigation(); ?>
diff --git a/application/default/views/scripts/hiwater/core.phtml b/application/default/views/scripts/hiwater/core.phtml deleted file mode 100644 index 9cc88eff..00000000 --- a/application/default/views/scripts/hiwater/core.phtml +++ /dev/null @@ -1,33 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('核心数据'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-

流域核心数据指流域生态-水文模型、陆面过程模型、社会经济模型以及其他各类模型所需要的关键性的驱动和参数数据集以及验证、发展和改进模型所需的关键观测数据。

-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
\ No newline at end of file diff --git a/application/default/views/scripts/hiwater/dem.phtml b/application/default/views/scripts/hiwater/dem.phtml deleted file mode 100644 index febebef4..00000000 --- a/application/default/views/scripts/hiwater/dem.phtml +++ /dev/null @@ -1,34 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('DEM数据'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-

DEM是数字高程模型的英文简称(Digital Elevation Model),DEM是地貌形态信息的离散表示,这些信息包含流域网格单元的坡度、坡向以及单元格之间的关系等,是开展流域研究的重要原始资料。

-

数据包括黑河全流域范围各种不同分辨率的数字高程模型(DEM)(栅格大小为30m、90m、1000m和30sec)。

-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
diff --git a/application/default/views/scripts/hiwater/economic.phtml b/application/default/views/scripts/hiwater/economic.phtml deleted file mode 100644 index e8dc5c08..00000000 --- a/application/default/views/scripts/hiwater/economic.phtml +++ /dev/null @@ -1,35 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('社会经济数据'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-

- 各类社会经济数据。 -

-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
\ No newline at end of file diff --git a/application/default/views/scripts/hiwater/geobase.phtml b/application/default/views/scripts/hiwater/geobase.phtml deleted file mode 100644 index da310775..00000000 --- a/application/default/views/scripts/hiwater/geobase.phtml +++ /dev/null @@ -1,32 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('基础地理数据'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
\ No newline at end of file diff --git a/application/default/views/scripts/hiwater/hydro.phtml b/application/default/views/scripts/hiwater/hydro.phtml deleted file mode 100644 index 633fe311..00000000 --- a/application/default/views/scripts/hiwater/hydro.phtml +++ /dev/null @@ -1,39 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('水文观测数据'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-

- 黑河流域的基本水文观测站点共计30个,其中包括了水文站18个,雨量站12个。 - 按照水文站点实际控制黑河流域的状况,我们收集了黑河流域范围10个核心水文站的水文数据, - 其中主要包括了位于黑河上游东、西支的祁连站、扎马什克站,黑河干流的莺落峡站、高崖站、正义峡站, - 位于黑河第二大支流-梨园河的肃南站、梨园堡站(控制主要灌区),其他支流上的李桥站、冰沟站等, - 以及黑河下游的额济纳旗站。 -

-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
\ No newline at end of file diff --git a/application/default/views/scripts/hiwater/irragation.phtml b/application/default/views/scripts/hiwater/irragation.phtml deleted file mode 100644 index c4d7faf5..00000000 --- a/application/default/views/scripts/hiwater/irragation.phtml +++ /dev/null @@ -1,39 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('水文观测数据'); -$this->breadcrumb()->setSeparator(' > '); -?> - -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-

- 黑河流域中游的水资源模拟主要是针对地表径流、地下水以及地表水与地下水相互转换等内容来开展, - 而对绿洲灌溉系统的水资源利用工作相对较少,这主要是因为没有绿洲灌溉系统的详细信息。如果能够获得渠系灌溉和机井灌溉的用水量信息, - 就可以更为完整地模拟整个黑河流域中游的水资源利用特征,为优化水资源利用提供参考依据。 - 这些数据为中游地区水文水资源模型建模工作提供了数据支撑,也为政府部门特别是水务部门的灌溉管理提供了重要的数据支持,为电子水务提供了可能性。 -

-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
\ No newline at end of file diff --git a/application/default/views/scripts/hiwater/landsurface.phtml b/application/default/views/scripts/hiwater/landsurface.phtml deleted file mode 100644 index fdcf3633..00000000 --- a/application/default/views/scripts/hiwater/landsurface.phtml +++ /dev/null @@ -1,33 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('陆地表层数据'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-

陆地表层数据包括冰川、沙漠、草场、植被、地貌等数据。

-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
\ No newline at end of file diff --git a/application/default/views/scripts/hiwater/landuse.phtml b/application/default/views/scripts/hiwater/landuse.phtml deleted file mode 100644 index 48c1c7e1..00000000 --- a/application/default/views/scripts/hiwater/landuse.phtml +++ /dev/null @@ -1,33 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('土地利用数据'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-

1:10万土地利用数据是在中国科学院“八五”重大应用项目《全国资源环境遥感宏观调查与动态研究》组织了中国科学院所属19个研究所的遥感科技队伍,以卫星遥感为手段,在三年内基于Landsat MSS,TM和ETM遥感数据建立了中国1:10万土地利用影像和矢量数据库。

-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
diff --git a/application/default/views/scripts/hiwater/meteo.phtml b/application/default/views/scripts/hiwater/meteo.phtml deleted file mode 100644 index ae9f03b0..00000000 --- a/application/default/views/scripts/hiwater/meteo.phtml +++ /dev/null @@ -1,35 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('气象观测数据'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-

- 黑河流域及其周边地区的气象常规观测站点共21个。观测要素包括日平均气压、最高气压、最低气压、平均气温、最高气温、最低气温、平均相对湿度、最小相对湿度、平均风速、最大风速及风向、极大风速及风向、日照时数、降水量。 -

-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
\ No newline at end of file diff --git a/application/default/views/scripts/hiwater/model.phtml b/application/default/views/scripts/hiwater/model.phtml deleted file mode 100644 index a77110d8..00000000 --- a/application/default/views/scripts/hiwater/model.phtml +++ /dev/null @@ -1,35 +0,0 @@ -headTitle($this->config->title->site); -$this->headTitle($this->config->title->data); -$this->headTitle()->setSeparator(' - '); -$this->headLink()->appendStylesheet('/css/water.css'); -$this->breadcrumb('首页'); -$this->breadcrumb(''.$this->config->title->data.''); -$this->breadcrumb(''.$this->config->title->heihe.''); -$this->breadcrumb('模型数据'); -$this->breadcrumb()->setSeparator(' > '); -?> -
-
- partial('hiwater/navi.phtml'); ?> -
-
-
breadcrumb() ?>
-
-

- 包括大气驱动数据、辐射数据、SWAT模型数据等。 -

-
-
- metadata) : ?> - page->getNavigation(); ?> -
-
    - metadata as $md) : ?> -
  1. - -
-
- -
-
\ No newline at end of file diff --git a/application/default/views/scripts/hiwater/navi.bak.phtml b/application/default/views/scripts/hiwater/navi.bak.phtml deleted file mode 100644 index fb9ae2cb..00000000 --- a/application/default/views/scripts/hiwater/navi.bak.phtml +++ /dev/null @@ -1,145 +0,0 @@ -
- - - - - - -
- -
- -
-
-
- -
-
- -
-
-
-
- - \ No newline at end of file diff --git a/application/default/views/scripts/hiwater/navi.phtml b/application/default/views/scripts/hiwater/navi.phtml index 55a3590d..78acca3d 100644 --- a/application/default/views/scripts/hiwater/navi.phtml +++ b/application/default/views/scripts/hiwater/navi.phtml @@ -21,7 +21,7 @@
-