注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

阿弥陀佛

街树飘影未见尘 潭月潜水了无声 般若观照心空静...

 
 
 

日志

 
 
关于我

一直从事气象预报、服务建模实践应用。 注重气象物理场、实况场、地理信息、本体知识库、分布式气象内容管理系统建立。 对Barnes客观分析, 小波,计算神经网络、信任传播、贝叶斯推理、专家系统、网络本体语言有一定体会。 一直使用Java、Delphi、Prolog、SQL编程。

网易考拉推荐

Combind Default File format with a Folder and Theme  

2012-11-05 08:10:20|  分类: Ramadda |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

Mr He,

 

> Theme = {imageplayer, openlayer, wiki, Annotated Text, File Metadata }

> File format={gif,jpg,png, nc,grib,hdf,csv} Categories Folder={Station

> point data, Stations Time series data, Grid data, Images } Because

> Categories Folder  contains only one File format usually, So there is

> a main Theme to display the data.

> I expected :

> Station point data + csv + openlayer as the default combination;

> Stations Time series data + csv +  openlayer + jFreeChart as the

> default combination; Grid data + nc(grib,hdf) + File Metadta as the

> default combination; Images + jpg(gif,png) + imageplayer as the

> default combination;

> After the default combination is determined, my user may have less

> mouse click to see the details in a Treeview.

 

There isn't an easy way to just specify this as a configuration. But, RAMADDA does have a PageDecorator class. This had been used to add extra html to entry pages.  I have modified the PageDecorator to also now allow one to specify a default output.

 

I have created a CMA plugin in:

src/org/ramadda/plugins/cma

 

There is a CmaPageDecorator class with an example implementation of the getDefaultOutputType method. Right now this will use the image player if there are any images and will use the CDL metadata output for netcdf and grib files.

 

Go ahead and feel free to make changes to this class and then build

and install the cmaplugin.jar.   If you do make changes could you send

them back to me and I can check them in to SVN so they don't get lost.

 

Jeff

  评论这张
 
阅读(482)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017