five

Sciunit testing

收藏
DataONE2022-02-15 更新2024-06-08 收录
下载链接:
https://search.dataone.org/view/sha256:bcf8aab6a3e335cae76263dfe5950cdac3c586079ab1272d6a84e6a9e2d20915
下载链接
链接失效反馈
官方服务:
资源简介:
Illustration of General idea of use case for sciunit container. 1. User creates sciunit (sciunit create Project1) 2. User initiates interactive capturing (sciunit exec -i) 3. User does their work. For now assume this is a series of shell commands 4. User saves or copies the sciunit 5. User opens the sciunit on a new computer and can re-execute the commands exactly as they would have on the old computer, from command line, from bash shell escapes or python in Jupyter 6. User sees a list of the commands that were in the sciunit and could use editing of them to reproduce The setup. On CUAHSI JupyterHub the user has a resource (the one above) with some code that is a simple example for modeling the relationship between streamflow and snow There is a python \"dependency\" GetDatafunctions.py in a folder on CUAHSI JupyterHub. This is not part of the directory where the user is working. It is added to the python path for the programs to execute. This is a simple example of what could be a dependency the user may not exactly be aware of (e.g. if it is part of the CUAHSI JupyterHub platform, but not part of other platforms). An export PYTHONPATH command is used to add the dependency to the python path. Then the analysis is illustrated outside of sciunit. Then sciunit is installed and the analysis repeated using sciunit exec. Finally sciunit copy copies the sciunit to the sciunit repository Then on a new computer Sciunit open retrieves the sciunit After repeating one of the executions, the sciunit directory has the dependency container unpacked Setting the PYTHONPATH to the unpacked dependency allows the commands to be run on the new computer, just as they were on the old computer. This is the vision - running on the new computer with dependencies from the old computer resolved. Would like the dependencies to be “installed” on the new computer so that they work with Jupyter and Jupyter escape bash commands. All is done from the command line - the Jupyter Notebook is just used as a convenient notepad.
创建时间:
2023-12-30
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作