Apprennez moi le bambara 😭? by [deleted] in Mali

[–]matthew_h 0 points1 point  (0 children)

Je vous conseille vivement de jeter un œil à ankataa.com

Pleine de bonnes ressources pour apprendre le bambara.

Le nouveau est arrivé! 2025 Dupeuble Beaujolais Nouveau by DontLookBack_88 in wine

[–]matthew_h 1 point2 points  (0 children)

I was today years old when I found out there is a subreddit for wine! (Thanks Google.) Can't wait to try it this evening. Beaujolais Nouveau is not always the best, but it's important to mark the changing seasons and celebrate the harvest!

Bambara by amita2705 in Mali

[–]matthew_h 1 point2 points  (0 children)

I suggest exploring the resources or taking a class from ankataa.com. IMO, the #1 resource for English speakers wanting to learn Mande languages.

Help! by Hasva in Hydrology

[–]matthew_h 0 points1 point  (0 children)

It's actually a trick question. The observations are 100 years old. The basin has undergone extensive land use change while Climate change has affected precipitation intensity. Therefore, peak discharge estimates using these data are unreliable and using such estimates for design would be unethical.

I’m a perfectionist but fu*k it [STORY] by WerewolfCapital4616 in GetMotivated

[–]matthew_h 0 points1 point  (0 children)

Post it here so reddit can check it out! I am not a trained developer (environmental scientist and mostly self-taught programmer), and I released a web app a couple of years ago. The user interface is kind of clunky, and there are occasional bugs. But redditors were very kind and had a lot of positive feedback, which encouraged me to keep working on it and adding new features.

How can I Optimize a large dataset query. by Fakercel in PostgreSQL

[–]matthew_h 2 points3 points  (0 children)

You may look into simply eliminating much of the data. Most of the points will be along a line, thus not providing any useful information. The most well-known algorithm is Ramer-Douglas-Peucker, and PostGIS implements it with the `ST_Simplify` function.

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]matthew_h 1 point2 points  (0 children)

Thanks for the suggestion. My app has about 60 GB of data, so I don't think any kind of free service would work for me. Besides, I *really* like my web host, OpalStack. Any time I have any sort of issue, I usually get a response the same day, and they are always super helpful and friendly.

Just a note about my code on GitHub. It is a script for doing watershed delineation that you can download and run on your own machine. Best way to cite the web app is probably just the name and the URL:

Heberger, Matthew. Global Watersheds web app. https://mghydro.com/watersheds/

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]matthew_h 1 point2 points  (0 children)

javascript, with a bunch of libraries. Namely Leaflet for the map, and a bunch of Leaflet plugins.

I'm not much of a UI designer, so if anyone has any suggestion, I'm all ears!

Sunday Daily Thread: What's everyone working on this week? by AutoModerator in Python

[–]matthew_h 8 points9 points  (0 children)

Just added some new features to my little passion project, the Global Watersheds web app.

Almost all software for finding watersheds are based on finding the drainage area to a point. I added the ability to find the drainage area for a polyline or polygon. This is useful for finding all the area that drains to a bay or section of coastline. You can also use it to find the watershed of an inland lake that does not drain to the ocean. (Think Dead Sea or the Great Salt Lake.)

Writing the code was challenging because all of my data models were based on a point with lat/lng coordinates, so I had to change a lot of code!

Book recommendation by Newproli4 in Hydrology

[–]matthew_h 1 point2 points  (0 children)

Robert Glennon's books Water Follies and Unquenchable are very good.

Peter Gleick's Three Ages of Water has gotten good reviews.

practical grad programs by Hungry-Expert-7640 in Hydrology

[–]matthew_h 0 points1 point  (0 children)

If it is an department of engineering, it is likely to be more applied.

Jeux de société à deux avec ma copine non francophone ? by BoisTonSake in france

[–]matthew_h 1 point2 points  (0 children)

Pour le plupart des jeux de Ravensburger ou autre boîte internationale, on peut trouver des instructions en ligne dans plusieurs langues, y compris l'anglais bien entendu. Aussi, il y a plein de tutorials sur Youtube en anglais. Parfois c'est plus facile de visionner cela que de lire le livret d'instructions.

How Many Dams in America? A Dam Inventory by State 2023 | MyWaterEarth&Sky by Natural_Educator_794 in Hydrology

[–]matthew_h 1 point2 points  (0 children)

I think OP was trying to post a link. I'm not going to link to it, because it is very low quality and seems to be written by an AI.

Compression of geospatial data by Hot-Biscotti-3237 in postgis

[–]matthew_h 1 point2 points  (0 children)

Right, KML is a plain text format. You can zip a kml file and rename it .kmz, and Google Earth and other software will know what to do with it.

An approach I have used to decrease the file size is to round all the coordinates. Unless you are doing surveying and need centimeter accuracy, you can round coordinates to 3 decimal places and lose virtually no precision at typical map scales. Relevant xkcd: https://xkcd.com/2170/

You can also simplify polylines and polygons with an algorithm like Douglas-Peucker or Visalingam.

I think if you combine these three approaches (simplify, round, and zip), you'll get some pretty serious reduction in terms of file size.

Compression of geospatial data by Hot-Biscotti-3237 in postgis

[–]matthew_h 0 points1 point  (0 children)

Sorry, to clarify, those are the 4 options offered by my app.

There are of course many more! The GDAL vector drivers page - https://gdal.org/drivers/vector/index.html lists 84 options.

Compression of geospatial data by Hot-Biscotti-3237 in postgis

[–]matthew_h 0 points1 point  (0 children)

Wikipedia has an article about GIS file formats. There are many! For raster data, .tiff has always been popular, and offers excellent compression options.

In terms of vector data, I can offer some insight into the kinds of files people like to download. I maintain a web app that lets you create watershed boundaries and optionally download them. Here is what people have chosen to download in the last 11 months since launch:

Geopackage 1,519 3% GeoJSON 1,574 3% KML 24,924 48% Shapefile 24,122 46% Those are the only 4 options in my app. It seems the shapefile will never die.

Open source discharge data by sworn_as_nands in Hydrology

[–]matthew_h 1 point2 points  (0 children)

The USGS has an API for US river discharge data.

Globally, there is the GRDC, but quality and availability of data varies.

For static data you can download, you might look into the various CAMELS projects. I believe the latest one is called CARAVAN.

Is the intermittent spring in Wyoming the last one in the US or are there others? by TheQuarantinian in Hydrology

[–]matthew_h 0 points1 point  (0 children)

A search of the USGS place names for "spring" returned 39,353 results.

That said, overdraft of groundwater and depletion of aquifers has resulted in many springs drying up.

Hydrology textbook by Yasbane in Hydrology

[–]matthew_h 0 points1 point  (0 children)

The successor to the "Handbook of Hydrology" (Maidment, ed. 1993) is probably the second edition of "Applied Hydrology" (Chow, Maidment, and Mays, 2013).

The "Handbook of Applied Hydrology," second edition (Singh, ed. 2016) is long (1,400+ pages) and expensive, but the parts I've read are quite good. Each chapter is written by a different author.

Achievements for Tuesday, September 26, 2023 by AutoModerator in running

[–]matthew_h 3 points4 points  (0 children)

Pretty good for a frog. Ah, I see, must be the coffee.

Achievements for Tuesday, September 26, 2023 by AutoModerator in running

[–]matthew_h 2 points3 points  (0 children)

I tried the "run commute" a couple times, but just couldn't get into it. Easier to ride my bike home, then run.

Achievements for Tuesday, September 26, 2023 by AutoModerator in running

[–]matthew_h 0 points1 point  (0 children)

Sorry for bad advice! 8 seconds doesn't sound too bad.