Andrew Huang

Results 15 comments of Andrew Huang

Thanks! Is there an equivalent of: ``` dst.build_overviews(factors, Resampling.average) ``` from https://rasterio.readthedocs.io/en/latest/topics/overviews.html but using xarray + dask?

Oh! It's built into COG! I just tried: ``` import rioxarray as rio path = "something.tif" ds = rio.open_rasterio(path, overview_level=0) ds.rio.to_raster("raster.tif", driver="COG") ``` From ``` OVERVIEWS=[AUTO/IGNORE_EXISTING/FORCE_USE_EXISTING/NONE]: Describe the behavior regarding...

How do I specify ALIGNED_LEVELS ``` import rioxarray fp = 'something.tif' ds = rioxarray.open_rasterio(fp, overview_level=1) ds.rio.to_raster("test.tif", driver="COG", ALIGNED_LEVELS=1) ```

`ds.rio.to_raster("test.tif", driver="COG", ALIGNED_LEVELS=1, TILING_SCHEME="GoogleMapsCompatible")` seems to output a bunch of levels ``` for level in range(0, 7): print(rioxarray.open_rasterio("test.tif", overview_level=level)) ``` Up to 7

I want to parameterize the TIME variable with a pn.widgets.DiscreteSlider ``` from bokeh.models.tiles import BBoxTileSource from bokeh.plotting import figure from bokeh.tile_providers import get_provider, Vendors from bokeh.io import show p =...

As a workaround, I was able to do this to extract simpledata tags ``` import fiona fiona.drvsupport.supported_drivers['LIBKML'] = 'rw' with fiona.open(file_path) as collection: gdf = gpd.GeoDataFrame.from_features(collection) ```

Is this it? https://visgl.github.io/react-map-gl/docs/api-reference/fullscreen-control/ But is it exposed on the python / pydeck side?

Does pydeck expose any hooks to the JS side (i.e. add additional JS to add full screen)

Is there a way to combine https://visgl.github.io/react-map-gl/docs/api-reference/fullscreen-control with https://deck.gl/docs/api-reference/json/conversion-reference

Using plain JSON works https://github.com/holoviz/panel/issues/3145#issuecomment-1023736626