Ampanihy, Mahabo

Ampanihy is a town and commune (Malagasy: kaominina) in Madagascar. It belongs to the district of Mahabo, which is a part of Menabe Region. The population of the commune was estimated to be approximately 7,000 in 2001 commune census.[2]

Ampanihy
Ampanihy
Location in Madagascar
Coordinates: 20°35′S 44°44′E
Country Madagascar
RegionMenabe
DistrictMahabo
Elevation135 m (443 ft)
Population
 (2001)[2]
  Total7,000
Time zoneUTC3 (EAT)

Only primary schooling is available. It is also a site of industrial-scale mining. The majority 89% of the population of the commune are farmers, while an additional 10% receives their livelihood from raising livestock. The most important crop is rice, while other important products are cassava and sweet potatoes. Industry and services provide both employment for 0.5% of the population.[2]

References and notes

  1. Estimated based on DEM data from Shuttle Radar Topography Mission
  2. "ILO census data". Cornell University. 2002. Retrieved 2008-03-10.


gollark: tio!debug
gollark: Yes, thanks TIOpy?
gollark: ```python#!/usr/bin/env python3import subprocess, os, os.path, sys, argparse, datetimetimestamp = datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S")print(timestamp)parser = argparse.ArgumentParser(description="do backups, probably")parser.add_argument("--encrypt", "-E", help="store backup in encrypted folder (please make sure it's unlocked)", action="store_true")parser.add_argument("--no-incremental", "-n", help="don't do incremental backup", action="store_true")parser.add_argument("--save_as", "-a", help="back up under different name")parser.add_argument("dir", help="directory to backup")args = parser.parse_args()incremental = not args.no_incrementalprint(args)srcdir = os.path.abspath(args.dir)outdir = os.path.join(os.path.dirname(os.path.abspath(sys.argv[0])), "encrypted/backups" if args.encrypt else "backups")safepath = (args.save_as or srcdir).lstrip("/").replace("/", "-").replace("_", "-")outpath = os.path.join(outdir, f"{safepath}_{timestamp}{'_incr' if incremental else ''}.tar.zst")snapshot = os.path.join(outdir, f"{safepath}.snapshot")snapargs = ["-g", snapshot] if incremental else []print(srcdir, outdir, outpath)tarproc = subprocess.Popen(["tar", "-c", "-v", "-C", os.path.dirname(srcdir), os.path.basename(srcdir)] + snapargs, stdout=subprocess.PIPE)zstproc = subprocess.Popen(["zstd", "-10", "-T0", "-o", outpath], stdin=tarproc.stdout)def assert_proc(x): if x.wait() != 0: print(f"warning: {x.args} failed")assert_proc(tarproc)assert_proc(zstproc)```efficiency™
gollark: Wow, I really love having to use `grep` to find an option in `--help`!
gollark: Yes.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.