New answers tagged

0

import geopandas as gp import requests from fiona import BytesCollection def wfs2gp_df(layer_name, url, bbox=None, wfs_version="2.0.0", outputFormat='application/gml+xml; version=3.2'): params = dict(service='WFS', version=wfs_version,request='GetFeature', typeName=layer_name, outputFormat=outputFormat) with BytesCollection(requests....


4

You can use the shapely and geopandas libraries to do that. Here's how: # Importing libraries import numpy as np import pandas as pd import geopandas as gpd import shapely ####################################### ### Setting up reproducible example ### ####################################### # Establishing initial variables similar to the ones in the ...


1

To get a date, you'll need to add a date band to each image before you mosaic. def addYMD(image): date = ee.Number.parse(image.date.format('YYYYMMdd')) return image.addBands(ee.Image.constant(date).rename('date')) firms = (ee.ImageCollection("FIRMS") .filterDate("2021-08-01", "2021-10-30") .select("T21"...


Top 50 recent answers are included