bird feeder使用birdhouse模式将thredds元数据目录发布到solr索引服务。

bird-feeder的Python项目详细描述


Travis Build
喂鸟器(鸟)
喂鸟…

bird feeder正在使用NetCDF文件解析thredds目录和本地目录,并将带有下载url的元数据发布到带有birdhouse模式的solr索引服务。

从Anaconda安装

Anaconda BuildAnaconda VersionAnaconda Downloads
$ conda install -c birdhouse bird-feeder

从Github安装

$ git clone https://github.com/bird-house/bird-feeder.git
$ cd bird-feeder
$ make install

http://localhost:8983/solr/birdhouse

上启动solr服务
$ make start
$ make status

使用命令行

帮助:

$ birdfeeder -h
usage: birdfeeder [<options>] <command> [<args>]

Feeds Solr with Datasets (NetCDF Format) from Thredds Catalogs and File
System.

optional arguments:
  -h, --help            show this help message and exit
  --debug               enable debug mode
  --service SERVICE     Solr URL. Default:
                        http://localhost:8983/solr/birdhouse
  --maxrecords MAXRECORDS
                        Maximum number of records to publish. Default: -1
                        (unlimited)
  --batch-size BATCH_SIZE
                        Batch size of records to publish. Default: 50000

command:
  List of available commands

  {clear,from-thredds,from-directory}
                     Run "birdfeeder <command> -h" to get additional help.
    clear               Clears the complete solr index. Use with caution!
    from-thredds        Publish datasets from Thredds Catalog to Solr.
    from-directory      Publish NetCDF files from directory to Solr.

解析thredds目录(递归到深度级别2):

$ birdfeeder from-thredds --catalog-url http://example.com/thredds/catalog.xml --depth=2

分析本地netcdf文件:

$ birdfeeder from-directory --start-dir /home/data/myarchive

作者

德克尔兹德的Carsten Ehbrecht Ehbrecht

变更历史

0.1.2(2015-09-18)

  • 修正了3:将相对路径转换为abs路径以从目录馈送。

0.1.1(2015-07-28)

  • 初次发布。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
junit有没有办法在Java中重新初始化静态类?   在浏览器中点击应用程序时java Play框架挂起   文件Java错误中的NullPointerException   使用Java中的SNMP查找网络中计算机的登录名   java包装服务器引导程序已弃用,有什么替代方案?   当客户在等待理发时,java信号量值是否存在问题?   java如何使用JavaMail仅下载特定类型的附件   如何在java中将十进制转换为十六进制   java Slick2D粒子系统不会生成粒子   java检测更改事件来自何处   将Java集合类型参数类设置为数组   java如何从eclipse导出为可运行JAR文件?   java EntityManager对象未注入Glassfish和Spring   swing从actionPerformed和actionListener Java返回字符串   java在给定另一个等价键对象的情况下获取映射项的当前键   无论输入如何,java网络都会产生相同的输出