sh_find_data(代码分析)

[zhao@zzh hlj1]$ sh_find_data

====================================================================================

Find raw and rinex data using the paths that are set in tables/process.defaults

Usage: sh_find_data <options>


Where the following command-line arguments are required:


-d yr day            where yr and day are to processed e.g. 1997 153

-type all/raw/rinex  sets type of data to find

-expt expt          4 char experiment ID (used to get correct list from sites.defaults)

-cmdfile            name of the file containing the sh_gamit command line arguments [default tmp.cmds]


Notes:  1) procdir must be set as an environment variable before call script

        2) rnxfnd and/or rawfnd in process.defaults constain the paths of the directories to be searched

        3) localrx with the expt name must be set in sites.defaults


====================================================================================

[zhao@zzh hlj1]$


代码参见:

https://blog.csdn.net/zzh_my/article/details/103018691

这个命令由sh_gamit调用,主要涉及rnxfnd参数。查找文件。在之前的rnxfnd测试中,发现如果存在软链接,查找会出现问题,主要问题很可能出现在这个sh_find_data代码中考虑不周导致。

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • Introduction What is Bowtie 2? Bowtie 2 is an ultrafast a...
    wzz阅读 11,170评论 0 5
  • pyspark.sql模块 模块上下文 Spark SQL和DataFrames的重要类: pyspark.sql...
    mpro阅读 13,147评论 0 13
  • 安装 详见http://blog.csdn.net/u011334621/article/details/4405...
    果果哥哥BBQ阅读 7,497评论 0 0
  • 心情有些郁闷,不知道自己毕业后该何去何从,别人都升学,或者确定方向,只有我自己没有方向,没有目标,没有梦想,不...
    金勇的小屋阅读 1,202评论 0 1
  • 在上学的时候,我们看到关于成功的故事总是这样的: 比尔盖茨为了追求微软梦想,中途退学,最后成为软件大亨; ...
    浅小木悠阅读 2,444评论 0 0