Skip to main content

Questions tagged [python]

Python is an open source interpreted programming language used in many GIS programs.

1 vote
1 answer
216 views

I downloaded the monthly NO2 data for the city of Bogotá using the GEE platform. I am analyzing the monthly average for April 2020 of both total NO2 and tropospheric NO2. A large amount of missing ...
0 votes
1 answer
282 views

I want to use the Landsat QA_PIXEl from this dataset to create a cloud mask in GEE. I only want to mask out the areas where there is high confidence that cloud cover is present. Looking at the ...
0 votes
1 answer
735 views

I am completing a task that requires me to collect info and pictures of gravestones in cemeteries using the Esri Collector app. There are thousands of attachments within the GDB that I would like to ...
2 votes
1 answer
192 views

I'm working with a time series stack of 28 raster bands. Each band is an image for a specific date, spanning all of the year 2020, and they are stacked in order. The stack (change_point_raster) is in ...
0 votes
2 answers
2k views

I have a tiff file that I want to crop down to a shp cutline and reproject. If the code is: clip_spec=gdal.WarpOptions(format='GTiff',cutlineDSName=os.getcwd()+'/moksha/DEM/cutline2.shp',cropToCutline=...
-2 votes
0 answers
43 views

I have acquired the DEM raster for a watershed area. I want to first calculate the flow accumulation using D8(Deterministic 8-Node) algorithm. Earlier in our lab people have used GRASS in Python to ...
1 vote
2 answers
3k views

I have multiple raster files (RGB, 255) and I want to convert those raster files to shapefiles but I want only that area as a polygon where there is data, which means I want to exclude the zero values ...
3 votes
1 answer
312 views

Using the QGIS Advanced Python Field Calculator, I am able to assign the new field a value from a feature an existing field using value = <Attribute_1>. I run into a problem when I am using ...
3 votes
1 answer
909 views

I am trying to convert some code snippets from GEE JavaScript to Python. This code computes the monthly averages of NDVI images given a range of years and a range of months. This is my code in ...
1 vote
1 answer
4k views

I have a rectangular matrix of geographic climate data with a 1d row of latitude coordinates (size=834) and a 1d column with longitude coordinates (size=1115). They are both in unit of m (EPSG:32630) ...
1 vote
1 answer
28 views

I'm trying to run a pdal pipeline - which has worked before (on a different computer, different data around 3 years ago) - on a singular las dataset - however it keeps throwing up an error: PDAL: ...
0 votes
1 answer
750 views

I'm dealing with CMIP6 Scenariomip data, I have eight ESMs precipitation grid that each one is composed by multiple netcdf files. There is one ESMs's netcdf files are seperately reserved every decade, ...
1 vote
2 answers
2k views

I have the following code that when run separately, displays two maps: Map1: f = h5py.File(filename[0], 'r') group_id='Soil_Moisture_Retrieval_Data_AM' var_id = 'soil_moisture' a = f[group_id][var_id][...
0 votes
1 answer
700 views

When I write the an algorithm in Google Earth Engine using JavaScript by using the Code Editor, it works fast. After thatif I use the Map.addLayer(), the result of algorithm can show in the map ...
2 votes
2 answers
522 views

I have two DataFrames df & df1: df: containing latitude, longitude, and binary cluster (0 or 1) latitude Longitude cluster 30.400091 -100.722830 0 30.500091 -100.762830 0 30.600091 ...

15 30 50 per page
1
2 3 4 5
818