Skip to content

Instantly share code, notes, and snippets.

Avatar

Massimo Di Stefano epifanio

View GitHub Profile
View Dockerfile
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
View gist:7f65630e1d8272fdcd7aafa3d4646ba6
Removing intermediate container b1ed73f80132
---> 08d48161dd06
Step 20/22 : RUN cd /home/jovyan/cuspatial && chmod a+x build.sh && ./build.sh
---> Running in 62247221d9c0
File /opt/conda/envs/gis/lib64/stubs/libcuda.so doesn't exist
Building for the architecture of the GPU in the system...
-- The C compiler identification is GNU 9.5.0
-- The CXX compiler identification is GNU 9.5.0
-- The CUDA compiler identification is unknown
View gist:1c86ffcd1b1d1612a9478a736b47fe9b
celery_1 | [2023-01-26 08:00:36,026: INFO/MainProcess] Task satpy_pygeoapi_plugin.process_netcdf.execute[83f43a26-9d4f-11ed-92b6-0242c0a82004] received
celery_1 | [2023-01-26 08:00:36,026: DEBUG/MainProcess] TaskPool: Apply <function fast_trace_task at 0x7f17278e9120> (args:('satpy_pygeoapi_plugin.process_netcdf.execute', '83f43a26-9d4f-11ed-92b6-0242c0a82004', {'lang': 'py', 'task': 'satpy_pygeoapi_plugin.process_netcdf.execute', 'id': '83f43a26-9d4f-11ed-92b6-0242c0a82004', 'shadow': None, 'eta': None, 'expires': None, 'group': None, 'group_index': None, 'retries': 0, 'timelimit': [None, None], 'root_id': '83f43a26-9d4f-11ed-92b6-0242c0a82004', 'parent_id': None, 'argsrepr': "({'message': 'An optional message.', 'name': 'netcdf', 'netcdf_file': '/data/noaa19-avhrr-20230124115334-20230124120327.nc'}, {'message': 'An optional message.', 'name': 'netcdf', 'netcdf_file': '/data/noaa19-avhrr-20230124115334-20230124120327.nc'})", 'kwargsrepr': '{}', 'origin': 'gen84@pygeoapi', 'ignore_result': False, 'prope
View gist:017305782b4c3c79b953a177035e135d
Ardour7 --gdb
GNU gdb (Ubuntu 12.1-3ubuntu2) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
View gist:7a2fb707252721c0e60056760bfa52d3
➜ Downloads Ardour7
Ardour7.2.0 (built using 7.2 and GCC version 6.3.0 20170516)
Ardour: [INFO]: Your system is configured to limit Ardour to 1048576 open files
Ardour: [INFO]: Loading system configuration file /opt/Ardour-7.2.0/etc/system_config
Ardour: [INFO]: CPU vendor: AuthenticAMD
Ardour: [INFO]: AVX-capable processor
Ardour: [INFO]: AVX with FMA capable processor
Ardour: [INFO]: CPU brand: AMD Ryzen 9 5950X 16-Core Processor
Ardour: [INFO]: Using AVX and FMA optimized routines
Ardour: [INFO]: Set Clip Library directory to '/home/epinux/.local/share/sounds/clips'
View log.txt
epi@epi:~/dev/pygeoapi$ docker run -it epinux/pygeoapi:test test
START /entrypoint.sh
Trying to generate openapi.yml
Error Number: 1, Type: Failure, Msg: HTTP error code : 400
Error Number: 1, Type: Failure, Msg: Error returned by server : HTTP error code : 400 (0)
Error Number: 1, Type: Failure, Msg: HTTP error code : 400
Generating /pygeoapi/local.openapi.yml
Done
openapi.yml generated continue to pygeoapi
=============================================================================== test session starts ===============================================================================
@epifanio
epifanio / log.txt
Created Jan 12, 2023
pygeoapi_test_log
View log.txt
START /entrypoint.sh
Trying to generate openapi.yml
Error Number: 1, Type: Failure, Msg: HTTP error code : 400
Error Number: 1, Type: Failure, Msg: Error returned by server : HTTP error code : 400 (0)
Error Number: 1, Type: Failure, Msg: HTTP error code : 400
Generating /pygeoapi/local.openapi.yml
Done
openapi.yml generated continue to pygeoapi
=========================================================================================== test session starts ===========================================================================================
platform linux -- Python 3.10.6, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
View poly_bbox_test.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View query_solr.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@epifanio
epifanio / Dockerfile
Created Aug 28, 2022
Dockerfile to build PDAL with the MB-System driver
View Dockerfile
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
ENV PYTHONUNBUFFERED=1
ARG MBSYS_VERSION=5.7.5
RUN apt-get update && apt-get upgrade -y
# main build dependencies