跳转到主要内容

IDV脚本来传输包

项目描述

Build Status

IDV_teleport

IDV脚本来重新定位一个或多个现有(“模板”)IDV包的空间时间边界框,然后执行runIDV来获取数据和写入输出。

输出(3):缩略图图像;动画;以及包含所有数据和显示的.zip .zidv文件。所有都称为CASE_NAME.xxx,具有适当的xxx后缀。

参数用于指定经纬度空间中的-bbox,以及一个或多个时间范围。时间范围指定为所需时间序列的中间时间(-t)加上序列的一半宽度(-td)。时间步长必须在模板BUNDLE.xidv中设置,并且只能在IDV GUI中进行更改。

要求:2016年5月或更高版本的5.3u1 IDV,以及任何Python。

使用方法

   idv_teleport.py [-h] -t TIME -b BUNDLE [BUNDLE ...] [-td TIMEDELTA]
                   [-bbox NORTH WEST SOUTH EAST]
                   [-case CASE_NAME [CASE_NAME ...]]
                   [-outdir OUTPUT_DIRECTORY] [-d {True,False}]
                   [-purl PUBLISH_URL]

可选参数

-h, --help               show this help message and exit
-b BUNDLE.xidv [BUNDLE2.xidv ...], --bundle BUNDLE.xidv [BUNDLE2.xidv ...]
                         IDV Bundle template file (local file or remote URL).
			 Can also be .zidv file.
-bbox NORTH WEST SOUTH EAST, --boundingbox NORTH WEST SOUTH EAST
                         Set the bounding box of the bundle with boundaries
                         north, west, south, east
-t TIME, --time TIME  Input central time as YYYY-MM-DD (optionally with hh:mm:ss),
                         or as a text file with times as above, one per line.						 
-td TIMEDELTA, --timedelta TIMEDELTA
                         Time delta as Nseconds, Nhours, Ndays, Nweeks…
                         Output bundle will be centered (TIME +- TIMEDELTA).
                         Default is 0seconds. 
-case CASE_NAME [CASE_NAME2 ...], --case_name CASE_NAME [CASE_NAME ...]
                         Case name to prefix the bundle; by default, the case name
                         will be selected from template bundle file
-outdir OUTPUT_DIRECTORY, --output_directory OUTPUT_DIRECTORY
                         Set the output path to place the output;default is
                         current directory from where the script is run
-pubid PUBLISH_ID, --publish_id PUBLISH_ID
                    Publish bundle and image at a RAMADDA server;argument
                    shoud be ramadda entryid wherethe user from
                    environment variable RAMADDA_USER and password from
                    RAMADDA_PASSWORD has permissionsto write files.
-nohead {True,False}, --headless {True,False}
                    Option to use headless display environment or not to
                    use headless environment `Xvfb` needs to be
                    installed and be present in the PATH. Default is set to True for convinience,
		    When True and Xvfb is not on path it tries to run IDV with default local display.
-d {True,False}, --debug {True,False}
                    Debug option; for each time in timefile, IDV session
                    will remain open and MUST be closed manually

最简单的用法

 python idv_teleport.py -b templatebundlefile.xidv -t YYYY-MM-DD_hh:mm:ss

项目详情


下载文件

下载适合您平台文件的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

idv_teleport-1.70.tar.gz (7.1 kB 查看哈希值)

上传时间 源代码

构建发行版

idv_teleport-1.70-py3-none-any.whl (7.7 kB 查看哈希值)

上传时间 Python 3

由...