Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
| namespace CSharpFromPythonNamespace | |
| { | |
| public class CSharpFromPythonClass | |
| { | |
| public string Hi(string x) | |
| { | |
| return "Hi " + x; | |
| } | |
| public static string Hello(string x) |
I've been using wsl (version 2) with genie mod for years without issue, but one day, Windows 10 finally catch up on wsl Windows 11 features and gives us a way to use systemD natively.
I wanted to use the new "right way" to enable systemD on Windows Subsystem for Linux (without genie), and I also had a (probably related) infinite Windows RemoteApp error poping in.
| import os | |
| import shutil | |
| import numpy | |
| import pygeoprocessing | |
| import pygeoprocessing.routing | |
| from osgeo import gdal | |
| def doit(dem_path, flow_dir_weights, watershed_source_vector, workspace): |
| """Tracer for floodplain extraction function with custom parameters.""" | |
| import logging | |
| import os | |
| import sys | |
| import pygeoprocessing | |
| import pygeoprocessing.routing | |
| import numpy | |
| logging.basicConfig( |
Look at this existing tutorial https://lerryws.xyz/posts/PyQGIS-in-Jupyter-Notebook
| # Copyright 2019 Luke Pinner | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, |