Skip to content

Instantly share code, notes, and snippets.

View vikineema's full-sized avatar

Victoria Neema vikineema

View GitHub Profile
product definition
s3_olci_l2_lfr https://raw.githubusercontent.com/digitalearthafrica/config/refs/heads/sentinel-3/products/s3_olci_l2_lfr.odc-product.yaml
product definition
iwmi_blue_et_monthly https://raw.githubusercontent.com/digitalearthafrica/config/iwmi-water-accounting-plus-products/products/iwmi_blue_et_monthly.odc-product.yaml
iwmi_green_et_monthly https://raw.githubusercontent.com/digitalearthafrica/config/iwmi-water-accounting-plus-products/products/iwmi_green_et_monthly.odc-product.yaml
product definition
wq_annual https://raw.githubusercontent.com/digitalearthafrica/config/refs/heads/master/products/wq_annual.odc-product.yaml
@vikineema
vikineema / README.md
Created June 13, 2023 11:44 — forked from timlinux/README.md
Linux on Lenovo Thinkpad P14s with AMD Processor

Thinkpad P14s AMD Edition Review (Running Fedora)

These are my installation etc. notes for running Linux on my new Thinkpad P14s laptop with 32GB RAM, 1TB SDD and 8 Core, 16 Thread AMD CPU.

Detailed specs

Here is what they quoted as the specs after I confirmed my order:

Fedora Workstation Installation Notes

These are my notes for setting up my production workstation with QGIS dev environment and various other niceties.

Mounting encrypted drives

I have three 2TB SSD drives in addition to the system drive which is 250GB.

To get them to mount you need to not include them in the original setup of the computer disk scheme. Then after first log in to the system do the following:

@vikineema
vikineema / get_notebooks_warnings.py
Last active July 5, 2022 13:21
Script to get the warnings in the DE Africa Sandbox notebooks into a `.csv` file for ease of tracking.
# Python script to get the warnings e.g DepreciationWarning from notebooks.
# Import necessary modules.
import glob
import os
import json
import nbformat
import pandas as pd
from nbconvert.preprocessors import ExecutePreprocessor

Capture a movie on your phone of the object by walking around it. If possible shoot it from different angles e.g. from above looking down, below looking up, side on etc. When you film it, walk around it or move the camera around it in a full 360 revolution (or even a couple of revolutions). You should get something like this (note that the image below is a resized copy of the orignal downrated to 1 fps):

DrinkingFountainSmall

Put the video into an empty folder and then use ffmpeg to extract the frames. You can experiment with different frame rates but generally there will be little value in extracting at 60fps or whatever your phone natively shoots at.