excel-to-iso19115:用于将Excel文件转换并验证为ISO19115元数据格式的xml的python脚本,准备将其导入到地理网络中

时间:2021-04-19 22:18:32
【文件属性】:
文件名称:excel-to-iso19115:用于将Excel文件转换并验证为ISO19115元数据格式的xml的python脚本,准备将其导入到地理网络中
文件大小:1.94MB
文件格式:ZIP
更新时间:2021-04-19 22:18:32
Python 描述 用于将iso19115元数据格式的excel文件转换并验证为xml的python脚本,准备将其导入Geonetwork 3.x 用法 首先使用以下命令安装需求: pip install -r requirements.txt 然后像这样运行: python3 convert.py name-of-excel-file.xlsx 该脚本经过了精心设计,只能读取metadata-template.xlsx文件,以便对其进行复制,根据需要更改值,然后继续将其转换为xml。 该脚本将输出一个名为name-of-excel-file.xml的文件,该文件可以在Geonetwork 3.x中导入。 笔记 该脚本有点慢,因为它会在Nasa的GCMD中搜索出现的关键字。 因此,其性能取决于excel文件中有多少个关键字。
【文件预览】:
excel-to-iso19115-main
----utils.py(3KB)
----thesaurus()
--------platforms.json(212KB)
--------providers.json(428KB)
--------locations.json(116KB)
--------chronounits.json(39KB)
--------instruments.json(382KB)
--------nasa.csv(10.92MB)
--------sciencekeywords.json(450KB)
----thesaurus_utils.py(2KB)
----metadata-template.xlsx(15KB)
----convert.py(447B)
----requirements.txt(2KB)
----.gitignore(2KB)
----xml_templates()
--------inspire.py(2KB)
--------templates.py(36KB)
----README.md(720B)
----data.py(1KB)

网友评论