This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
simplekml | |
pyqtgraph | |
qdarkstyle | |
pyqt | |
pyqt5-sip | |
pyqtchart | |
pyqtwebengine | |
pyopengl | |
qgis | |
geopandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
MemoryError Traceback (most recent call last) | |
Cell In[13], line 4 | |
2 x_pnt = points[:, 0] | |
3 y_pnt = points[:, 1] | |
----> 4 points = cuspatial.core.geoseries.GeoSeries.from_points_xy(points.flatten()) | |
6 x_poly = polygon[:, 0] | |
7 y_poly = polygon[:, 1] | |
File /opt/conda/envs/all_cuda-118_arch-x86_64/lib/python3.10/site-packages/cuspatial/core/geoseries.py:631, in GeoSeries.from_points_xy(cls, points_xy) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PyQt5.QtWidgets import * | |
from qgis.PyQt.QtGui import ( | |
QColor, | |
) | |
import cudf | |
import cuspatial | |
print("cudf version: ", cudf.__version__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) Jupyter Development Team. | |
# Distributed under the terms of the Modified BSD License. | |
from jupyter_core.paths import jupyter_data_dir | |
import subprocess | |
import os | |
import errno | |
import stat | |
c = get_config() # noqa: F821 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
. /opt/conda/etc/profile.d/conda.sh | |
conda activate base | |
git clone https://github.com/epifanio/cuspatial /home/jovyan/cuspatial && cd /home/jovyan/cuspatial && git checkout gdal362 | |
export CUSPATIAL_HOME=/home/jovyan/cuspatial | |
conda env create --name all_cuda-118_arch-x86_64 --file conda/environments/all_cuda-118_arch-x86_64.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# set permissions on a directory | |
# after any installation, if a directory needs to be (human) user-writable, | |
# run this script on it. | |
# It will make everything in the directory owned by the group $NB_GID | |
# and writable by that group. | |
# Deployments that want to set a specific user id can preserve permissions | |
# by adding the `--group-add users` line to `docker run`. | |
# uses find to avoid touching files that already have the right permissions, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG MOTHER=epinux/jammy_mamba_gpu:desktop | |
FROM $MOTHER | |
LABEL maintainer="massimods@met.no" | |
ENV DEBIAN_FRONTEND=noninteractive | |
ENV PYTHONUNBUFFERED=1 | |
RUN mamba install --yes git | |
COPY build_cuspatial.sh /home/jovyan/build_cuspatial.sh |