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

阿弥陀佛

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

 
 
 

日志

 
 
关于我

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

网易考拉推荐

Workshop-Specific Instructions  

2012-03-13 22:29:39|  分类: LDM |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

Create the LDM user-account

An account for the LDM user should already exist on your workstation.


Ensure that TCP connections can be made

This should already have been done.


Become the LDM user in the user's home-directory

If you became root by executing the su command as the LDM user in a terminal window, then simply execute the command exit in the terminal window; otherwise, log off the computer and log in as the LDM user.


Edit the LDM user's profile-file

This should already have been done. You can verify this with the command

cat .bash_profile 

Build and Install the Distribution

If bash(1) is your user-shell (which is the default) then do the following:

cd wget ftp://ftp.unidata.ucar.edu/pub/ldm/ldm-6.9.8.tar.gz gunzip -c ldm-6.9.8.tar.gz | pax -r '-s:/:/src/:' cd ldm-6.9.8/src ./configure >&configure.log && echo Configured && make install >&install.log && echo Installed 
Otherwise, do the equivalent of the above for your user-shell.

Vet the LDM registry

The default values are fine.

For average rates of the various feedtypes, see, for example, the data-volume summary webpage for a computer at the UPC.


Request authorization at the upstream LDM

Add the following entry to the file $HOME/etc/ldmd.conf to allow all workshop LDM-s to obtain data from any workshop LDM:

ALLOW ANY ^workshop[0-9]{2}\.ucar\.edu$ 

For reference, see LDM Basics: ldmd.conf.


Edit the LDM configuration-file, etc/ldmd.conf

The "EXEC pqact" entry should already be enabled to allow local processing of received data-products.

Add the following entries to the LDM configuration file, ldmd.conf, to request the IDS|DDPLUS and NEXRAD3 data-feeds from the instructor's LDM:

REQUEST IDS|DDPLUS .* workshop00.ucar.edu REQUEST NEXRAD3  .* workshop00.ucar.edu 

For reference, see LDM Basics: ldmd.conf.


Edit the pqact configuration-file, etc/pqact.conf

Ensure that the following is the only active entry:

IDS|DDPLUS  ^(..)(..).. .... (..)(..)  FILE  IDS_DDPLUS/\1/\2/(\3:yyyy)(\3:mm)(\3:dd)T\4.txt 
Remember to start the continuation-lines with a tab character!

This entry will file data-products of feedtype IDS|DDPLUS in an appropriate directory hierarchy with the canonical time of the data-product as the file name.

For reference, see LDM Basics: pqact.conf.


Edit the scour configuration-file, etc/scour.conf

Add the following line to the scour(1) configuration-file, etc/scour.conf:

IDS_DDPLUS 1 
This will remove all files in the data directory hierarchy that are older than one day.

For reference, see LDM Basics: scour.conf.


Edit the LDM-user's crontab(1) file

Add the following lines via the command "crontab -e":

0 * * * * bin/ldmadmin scour >/dev/null 0 0 * * * bin/ldmadmin newlog * * * * * bin/ldmadmin addmetrics * * * * 0 bin/ldmadmin newmetrics 0,15,30,45 * * * * bin/ldmadmin check >/dev/null 

Ensure that the LDM is started at boot-time

We're not concerned about restarting the LDM at boot-time for this workshop. So we'll skip this step.

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

历史上的今天

在LOFTER的更多文章

评论

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

页脚

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