A project generated from aunty's Svelte project template.
Create a dev server: npm run dev.
builder/index.html hosts two builders, picked with ?builder= (see src/components/Builder/routes.ts):
?builder=isobands(default):IsobandsBuilder, for custom isoband maps from a GeoTIFF.?builder=weather:WeatherBuilder, for configuring the weather iframe below and copying its URL.
Each builder keeps its settings in the URL hash. Switching builder loads the page again, so only one builder's hash store runs at a time.
Configure with the URL hash, e.g. #startOffset=1&days=6&hide=ATTRIBUTION.
start: first day,YYYY-MM-DD. Defaults to today (Sydney).startOffset: days after today to start, e.g.1for tomorrow. Ignored ifstartis set.days: number of days. Defaults to 6.show:|-separated list ofTITLE|LEGEND|DATES|ATTRIBUTIONto show; anything not listed is hidden.hide: the same list, to hide instead.look:smoothfor a gradient across the band thresholds (25 to 45°C). Defaults to stepped bands.region:worldfor the global forecast on an Equal Earth map, without city dots or state borders. Defaults to Australia.file: filename in each date's folder. Defaults toaus.tiff, orglobal.tiffforregion=world.
Each map is a LayerCake SVG: the raster picture (rendered in a worker, clipped to the land), then state borders, then an HTML layer of PlaceLabels (places listed in src/lib/places.ts, the state and territory capitals). All layers share one fitted projection (RasterLayout).
During Aunty next development, we don't have an aunty release command so you need to run Aunty Next from the development branch. E.g. {aunty app source} should be the git+github:// url of the Aunty Next branch to ensure you have the latest code.
npm run buildnpx {aunty app source} release-checknpm version patchor equivalentnpx {aunty app source} release