GeoScene Notebook Server 是一个与 GeoScene Enterprise 门户集成的完整数据科学平台。
GeoScene Notebook Server 是 GeoScene Enterprise 中托管和运行 GeoScene Notebooks 的服务器角色。 使用 Python 编程语言可以执行空间分析、制定数据科学和机器学习工作流、管理 GIS 数据和内容以及自动化 GeoScene Enterprise 管理任务。
GeoScene Notebooks
GeoScene Notebooks 可在 GeoScene 中提供集成的 Web 界面,用于创建、共享和运行数据科学、数据管理和管理脚本。 作为 notebook 创作者,您有权访问 GeoScene Server 及其分析引擎、GeoScene 地理空间分析库,以及开源分析、统计数据和机器学习库。
通过 notebook,您可以执行分析、自动化工作流,并立即在地理环境中可视化数据和分析结果。 Notebook 是一种高效,现代的环境,将代码、实时可视化和地图以及数据工具进行了结合。
GeoScene Notebooks 使用 GeoScene Python 资源:GeoScene API for Python 和 ArcPy。Python 是 GeoScene 的一部分,GeoScene Notebooks 可将 Python 脚本编写直接引入您的 GeoScene Enterprise 门户。 API 允许您将动态地图和地理空间数据工具合并到 Notebook 中。
当 GeoScene Notebook Server 站点与联合了其他专用 GeoScene Server 角色的 GeoScene Enterprise 门户联合时,您可以在 notebook 中使用这些分析工具。 例如,在包含 GeoScene GeoAnalytics Server 站点的部署中,notebook 编辑器将包括可添加到 notebook 的 GeoAnalytics 工具;在包含指定用于栅格分析的 GeoScene Image Server 站点的部署中,notebook 编辑器中将包括栅格工具。
GeoScene Notebook Server 的工作原理
GeoScene Notebook Server 安装于服务器操作系统中,并使用 GeoScene Enterprise 门户进行配置和联合。 和其他 GeoScene Server 角色类似,Web Adaptor 可在 GeoScene Notebook Server 软件之前部署。
GeoScene Notebook Server 可使用容器(即虚拟化操作系统)来隔离每个 notebook 创作者的环境。 容器允许每个创作者使用您的服务器资源子集,且在工作或资源使用中不会互相干扰。
这些容器由一个容器引擎(第三方软件组件)进行分配和维护。 安装 GeoScene Notebook Server 之前,您必须安装 Mirantis Container Runtime 或 Docker,并且在 GeoScene Notebook Server 安装完成后,您必须对其进行配置以便与所选容器引擎配合使用。
Docker 和 GeoScene Notebook Server 主题提供了有关 Docker 的概述,解释了如何将其与 GeoScene Notebook Server 配合使用,并且包含有关可用 Docker 版本的信息。
GeoScene Notebook Server 向站点中每个 notebook 创作者针对每个运行时分配了一个容器。 只有 Notebook 创作者可以在容器中工作,且他们在运行 Notebook 时使用的计算资源不会影响其他创作者的容器。
当具有相应权限的门户成员打开其第一个 Notebook 时,将启动 GeoScene Notebook Server 站点上的容器。 Notebook 和容器之间的会话将在整个 Notebook 运行期间持续进行。
GeoScene Notebook Server 可以在一个站点中连接多台计算机。 此类配置中的计算机均具有相同的配置,且每台计算机都可以运行 GeoScene Notebooks。
GeoScene Notebook Server 和 GeoScene Server
GeoScene Notebook Server 具有 GeoScene Server 角色独有的功能和架构。 GeoScene Notebook Server 和其他 GeoScene Server 角色之间的区别如下:
- 其他 GeoScene Server 角色主要用于托管服务,以绘制地图、执行分析、运行地理处理任务等。 GeoScene Notebook Server 主要用于托管 GeoScene Notebooks。
- GeoScene Notebook Server 使用容器来隔离 notebook 创作者的环境。 每个创作者在其容器中使用的处理资源不会影响其他创作者在各自容器中所使用的资源。
- GeoScene Notebook Server 使用 Mirantis Container Runtime 和 Docker 进行容器分配。 在安装 GeoScene Notebook Server 之前,必须预先在计算机上安装和配置其中一个。
- GeoScene Notebook Server 有其自己的安装程序,您可以从 GeoScene Support 网站获取该程序。 其他 GeoScene Server 角色将使用 GeoScene Server 安装程序,但在授权过程中将为其分配特定角色。
- GeoScene Notebook Server 可在 https://portal.domain.com/home/notebook/manager.html 访问 GeoScene Notebook Server Manager 应用程序,可在 https://notebookserver.yourdomain.com:11443/geoscene/admin 访问 GeoScene Notebook Server Administrator Directory。 所有管理任务都可以在此目录中执行;您可在浏览器中手动执行,或通过编程请求执行。
GeoScene Notebook Server 与门户联合后,可以使用在门户网站中创建图层或 web 应用程序的方式来创建 notebook。 GeoScene Notebooks 在您的门户中使用基于身份的安全性,且管理员可以控制哪些用户有权创建、共享、编辑和查看 notebook。