Open in app

Sign In

Write

Sign In

Konrad Hafen
Konrad Hafen

249 Followers

Home

About

Published in Towards Data Science

·Mar 30, 2021

Sort NumPy Arrays By Columns or Rows

Use NumPy’s built-in functions to make sorting simple — NumPy is a fundamental module used in many Python programs and analyses because it conducts numerical computations very efficiently. However, for those new to NumPy, it can be difficult to grasp at first. Specifically, understanding array indexing and sorting quickly becomes complex. …

Python

4 min read

Sort NumPy Arrays By Columns or Rows
Sort NumPy Arrays By Columns or Rows
Python

4 min read


Published in Towards Data Science

·Feb 17, 2021

How to Make a False-Color Satellite Image in QGIS

Art and data all-in-one — False-color satellite images can be very useful to visually analyze different landscape characteristics. They also look really cool and are used to make very artistic maps and displays. False-color satellite images are created by displaying different band combinations with different colors. For example, a color near-infrared image is created by…

Remote Sensing

7 min read

How to Make a False-Color Satellite Image in QGIS
How to Make a False-Color Satellite Image in QGIS
Remote Sensing

7 min read


Published in Towards Data Science

·Feb 16, 2021

Remote Sensing with QGIS: Calculate NDVI

This could be the most-used remote sensing index — Vegetation indices are a staple remote sensing product and the normalized difference vegetation index (NDVI) may be the most widely used vegetation index. To calculate NDVI you simply need appropriate imagery and a program that allows you to interact with the image data. QGIS is a great, free option for…

Remote Sensing

6 min read

Remote Sensing with QGIS: Calculate NDVI
Remote Sensing with QGIS: Calculate NDVI
Remote Sensing

6 min read


Published in Towards Data Science

·Jan 13, 2021

Vectorize Moving Window Grid Operations on NumPy Arrays

Whether photography, topography, or something else it can probably be analyzed with a sliding window — There’s a good chance you’ve done something today that used a sliding window (also known as a moving window) and you didn’t even know it. Have you done any photo editing? Many editing algorithms are based on moving windows. Do you do terrain analysis in GIS? Most topographic raster metrics…

Python

7 min read

Vectorize Moving Window Grid Operations on NumPy Arrays
Vectorize Moving Window Grid Operations on NumPy Arrays
Python

7 min read


Published in Towards Data Science

·Dec 29, 2020

Use Python to Convert Polygons to Raster with GDAL.RasterizeLayer

Scale-up your geoprocessing workflows with Python — When you work with spatial data, it’s inevitable that you will need to implement information from both a vector and raster data source for the same location. This task can easily be accomplished manually, but it often becomes quite cumbersome when the process must be automated across a large number…

Python

3 min read

Use Python to Convert Polygons to Raster with GDAL.RasterizeLayer
Use Python to Convert Polygons to Raster with GDAL.RasterizeLayer
Python

3 min read


Published in Towards Data Science

·Nov 10, 2020

Zonal Statistics Algorithm with Python in 4 Steps

How to summarize raster data for polygon zones — It is a common need to summarize information from a gridded dataset within an irregularly shaped area. While at first glance this may seem simple, reconciling differences between raster (gridded) and vector (polygon) datatypes can quickly become complicated. …

Python

4 min read

Zonal Statistics Algorithm with Python in 4 Steps
Zonal Statistics Algorithm with Python in 4 Steps
Python

4 min read


Jul 21, 2020

How to Generate Passive Income with Online Courses

All you need to be successful is time — Everyone is good at something. With creativity and determination (and maybe some marketing) others will pay to learn from you. Teaching online courses is a great way to earn passive income. …

Elearning

5 min read

How to Generate Passive Income with Online Courses
How to Generate Passive Income with Online Courses
Elearning

5 min read


Published in Towards Data Science

·Jul 13, 2020

Create NetCDF Files with Python

A powerful data format once you break the learning curve — Gridded, spatial data are commonly stored in NetCDF files. This is especially true for climate data. NetCDF files offer more flexibility and transparency than some traditional raster formats by supporting multiple variables and detailed metadata. Because of the metadata and file structure NetCDF files can be more difficult to access…

Data Science

3 min read

Create NetCDF Files with Python
Create NetCDF Files with Python
Data Science

3 min read


Published in Towards Data Science

·Jul 9, 2020

Read NetCDF Data with Python

Access a slightly confusing, yet powerful, data format — Network common data form (NetCDF) is commonly used to store multidimensional geographic data. Some examples of these data are temperature, precipitation, and wind speed. Variables stored in NetCDF are often measured multiple times per day over large (continental) areas. With multiple measurements per day, data values accumulate quickly and become…

Python

4 min read

Read NetCDF Data with Python
Read NetCDF Data with Python
Python

4 min read


Published in Towards Data Science

·Jul 1, 2020

Unsupervised Land Cover Classification with Python

You don’t always need training data . . . — Aerial imagery is used for purposes ranging from military actions to checking out the backyard of a house you might buy. Our human brains can easily identify features in these photographs, but it’s not as simple for computers. Automated analysis of aerial imagery requires classification of each pixel into a…

Data Science

4 min read

Unsupervised Land Cover Classification with Python
Unsupervised Land Cover Classification with Python
Data Science

4 min read

Konrad Hafen

Konrad Hafen

249 Followers

Husband, father, outdoorsman, scientist. https://opensourceoptions.com. https://publiclandsjournal.com

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech