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
import logging | |
import subprocess as sp | |
import tempfile | |
import threading | |
import geopandas as gpd | |
import numpy as np | |
import rioxarray | |
import xarray as xr | |
from rasterio.enums import Resampling |
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
import xarray as xr | |
import rasterio | |
from rasterio.features import geometry_mask | |
def order_bounds( | |
minx: float, | |
miny: float, | |
maxx: float, | |
maxy: float, |
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
class MySort { | |
public static <E extends Comparable<E>> void quickSort(MyNode<E> list) { | |
MyNode<E> last = list; | |
while (last.next !=null && list !=null) { | |
//System.out.println("yes"); | |
last = last.next; | |
} | |
System.out.println(list); | |
sort(list, last); | |
} |