Skip to content
View jborevitz's full-sized avatar

Organizations

@borevitzlab

Block or report jborevitz

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
jborevitz/README.md

Precision Landscape Regeneration

by Borevitz (ideas,team,papers) ClaudeScience-Opus5 (re-prose and python) Nov 28, 2026

Tools for reading a landscape at the resolution it actually varies at, and for deciding what to do about it.

I'm Justin Borevitz at the Australian National University. These repositories are the farm-scale end of a larger idea: that the same light-driven programs studied in a 3 cm Arabidopsis rosette operate, through conserved pathways, all the way up to the land surface we can see from orbit.

The idea, briefly

Plant biology spans two nested jumps of roughly a million length units each, or a trillion in area. A tree holds on the order of a trillion plant cells. The Earth's ice-free surface holds on the order of a trillion "planet cells" — 10 m satellite pixels, each one a patch of crop, grass, shrub or tree responding to its own light, water, nutrients, genetics and management. Borevitz et al, 2027

The analogy is not decorative. A plant cell type is defined from the bottom up by its transcriptomic signature; a planet cell type can be defined from the bottom up by its spectral-temporal signature — ten Sentinel-2 bands, weekly, for a decade. Both are phenotypes of a developmental program running in a local environment. Annual crops pulse, perennial grasses are dynamic, evergreens persist, deciduous trees switch.

Resolution has made this tractable: 30 m with Landsat-7 in 2000, 10 m with Sentinel-2 in 2017, and now near-daily commercial imagery under 4 m. As pixels approach the size of a single tree crown, Earth observation starts to look like individual-level phenotyping.

Why it matters: humans manage about half the ice-free land surface, so land accounting that averages a woodland into one "ecosystem type" buries both the losses and the gains. Granular, pixel-level accounting can tell the difference between a paddock that should stay in production and a gully that should be trees — and can support honest counterfactuals, additionality tests and origin-based trade measures.

This framing is set out in "Scaling Plant Photomorphogenesis to the Globe" (Borevitz, Brown, Aisbett, Bradley and Burley), written in honour of the late Joanne Chory, whose Harnessing Plants Initiative pursued exactly this scaling — from an Arabidopsis light-response mutant to deeper, tougher roots holding carbon in soil.

The worked example

Everything here is developed against one 46.3 ha mountain property at 845 Avonside, Snowy Monaro, NSW — 888 to 1197 m, mapped at 3 m from airborne LiDAR, and rebuilt at 1 m from the point cloud where earthworks have to be cut into it. It is deliberately the hardest case: a block as tall as it is wide, 309 m of relief, and rainfall of 537 mm/yr against a reference evapotranspiration of 1043 — a deficit near 506 mm every year.

At that resolution the averages stop being useful. Potential ET spans 318 to 1103 mm/yr across the one property, and on slopes over 20 degrees north-facing ground demands 1071 mm/yr against 599 for south-facing: a 472 mm gap, 88% of the annual rainfall, inside one fence line. The block divides into four parts on its own terrain, and 365 mm/yr separates the thirstiest from the least thirsty.

The packages

Six small single-purpose packages and the site study they are developed against, all MIT-licensed, each README leading with what it found and linking its methods. They form a chain, and each link is usable alone.

package reads gives you
pylidarterrain classified airborne LiDAR the ground surface a plant actually stands on: slope, aspect, horizon angles, sky view
pyterrainsol that surface + daily weather light, PAR, daily light integral and evaporative demand, cell by cell, day by day
pyterrainwind that surface + reanalysis wind wind exposure by two schemes, and the extra demand it carries
pychannelform that surface where the water goes: catchments, channel networks, long profiles, and the soil column each cell drains into
pysoilwater soil survey + terrain + cover what the ground underneath can take: three-band retention, soil thickness and infiltration mosaics, an organic-carbon adjustment, and repellency as a state that depends on how wet the soil already was
pylandstore channels + demand the earthworks themselves: contour and pond and weir siting, swale sections, spillway placement, walking trails, cut and fill, evaporative loss, pumping energy
pylandgraze all of the above + a herd terrain-driven grazing allocation: which ground, at which hour, in which season (concept stage)
terrasim-avonside all of the above + measured rain the worked example itself: twenty years of forcing, two soil-water models on one farm, and the figures that explain where they disagree

Light and wind are separate packages on purpose. Aspect-driven radiation is predictable geometry and matters at any site with relief; wind needs a terrain-to- speed transfer function that is scheme-dependent and only partly constrained, so it is an extra position to take rather than a missing feature. The dependency runs one way — wind needs the light chain, the light chain never needs wind — so a collaborator modelling light installs pyterrainsol alone and never has to argue with the wind question.

The site study

The last row of that table is not a package, and that is deliberate. terrasim-avonside holds twenty years of hourly BARRA-C2 rainfall, a Captains Flat radar extraction at six minutes, Bureau design rainfall, the surrounding gauges, a tree-cover mask, and a TOPMODEL step written in TerraSim2's StepFunction form with a tree water-table term. None of that travels to another site, which is exactly why it does not live in a package. Its data/ directories are not under the repo's MIT licence — they carry Bureau and TERN terms, and each directory README says which.

Where one repo stops and the next starts is a rule here, not a habit. The water work and the earthmoving are now separate. pylandstore owns the geometry of intervention — which contour, which spillway, which trail, how much cut and fill — and stops at a specified earthwork. pychannelform routes water across the surface; pysoilwater says what the soil underneath will accept and hold. Whether a given earthwork changes the water is the question those two answer together, and the site- specific answer belongs with the model, in terrasim-avonside.

The rule earns its keep twice over. A wetness index is slope and upslope area and nothing else, so when runoff is intercepted on purpose the index reads the intervention as drying the ground below it: the geometry repo can show you the cut, but it cannot tell you whether the cut works. And the surface and the soil cannot be modelled apart. What a contour line produces is not downslope discharge but infiltration, so a routing run that passes every drop through the works and out the bottom answers a question nobody asked. The coupling — surface flow into soil water, soil water filling up and refusing more — is the point, and it is why pysoilwater exists as its own package rather than as a column buried inside the router.

Where this is going

The event water balance. The Avonside earthworks are now specified as a vector design rather than as DEM edits — four structures, nine contours and a proposed tenth at 1026 m, 5,791 m of swale inside the title. The section settled at a 0.3 m base and a 0.3 m bank top, which is symmetric, so cut balances fill exactly at every ground slope: 498 m³ against 502 m³, never wider than 1.3 m, holding 764 m³ at 132 L per metre. The works are infiltration devices rather than storages, so the question that decides whether they are worth building is what happens during a storm, at the hour and the five minutes, not in an annual average.

Coupling the surface to the soil. That event run cannot be done on the surface alone, and the reason is quantitative. Corrected for all three retention bands, the top 0.15 m of the Avonside title has about 60 mm of room from the wilting point and 40 mm from field capacity — so a 10 mm summer burst saturates none of it. The runoff observed in the field after exactly that storm was therefore rate-limited, not storage-limited: sealed bare ground and repellent litter, not full soil. A model that cannot represent that distinction will attribute runoff to the wrong cause and site the earthworks accordingly. pysoilwater carries the three bands, the carbon adjustment and the repellency state; the next step is running it against pychannelform as a coupled event.

Two pond settings, not one. The outlet standpipe is a control variable, so summer high and winter low are two different surfaces with two different water tables. The winter-low case is a direct test of the mechanism behind the eucalypt dieback on this block.

Ground truth the drone cannot give. The 2026 scan is reliable in plan and domes in elevation — the house pad reads as a 1.3 m cut where it should read 4 m. Ground control points on the next flight, or the pad goes in as designed geometry.

Change detection between LiDAR epochs, packaged as pydemchange, and a canopy height model built as an editable management layer rather than a 2018 snapshot.

Related work

  • DAESim — the dynamic agro-ecosystem simulator this framework uses as its point model (Taghikhah, Borevitz, Costanza & Voinov 2022).
  • TerraSim2 — gridded daily soil water on a terrain grid: buckets with an infiltration cap, downslope routing and Darcy subsurface drainage, validated against field logger sites. The per-cell evaporative demand computed here is what drives it.
  • PaddockTS — paddock-scale satellite time series.
  • shelterbelts — mapping and quantifying windbreaks.

Notes

Working notes, open questions and the hard-won traps are kept in NOTES.md, and updated as the work goes.

Learning with research agents

We work with drone and satellite imagery, genomics and field data that are modern research quality but often sparse and noisy, and we now work alongside language-model agents. The agents are fast: they read widely, reach for simulation and advanced statistics, and solve the typical question before student and supervisor have agreed what is being asked or what is being assumed. Discovery speeds up, many loose ends get chased, and the student's own inference, the thing a PhD is meant to build, can be skipped. The question we are asking is how agents, reviewers and we ourselves can meet a student where they are, see the research program together, and get better at reasoning rather than only at producing analysis.

The working answer is that an agent does not come to know a student between sessions; it carries forward only what is written down, in the opening instruction of a session and in pages like this one, and its default reading of "help" is "produce the result". So we say otherwise, in a few words, at the start: question first (restate the question in one sentence and wait for agreement before any analysis); assumptions on the table (list them, marking which are measured here and which are borrowed); predict before we look (the student writes down the expected result and what would change their mind, then we compare); one step, then stop (the smallest analysis that can tell two explanations apart, shown before the next is run); park the rest (loose ends go on a list, not into the run); and the method follows the question (a method is chosen because it tests a stated prediction, never because it makes the data look interesting). The shared picture of the program is then a single page of question, assumptions, predictions, what was tested and what is parked, and what trains us is comparing prediction with result while it is fresh, not keeping an archive of every miss.

On negative results. We used to hold that every experiment should be published, described and analysed even when it gave no significant or validated result, because something is still learned from it; that is the reasoning PLoS ONE was started on. We have changed our minds. Agents may be able to read every experiment; people cannot keep up, and it is not clear that either should. Some experiments and datasets are simply better, and the work moves faster by building on those than by giving lagging and legacy dead ends equal attention.

On forgetting. Forgetting is part of learning. A dead end is kept in brief and in general: what was tried, why it lost, and who still holds that view. That is enough to know where we came from and to recognise the mindset when we meet it again. The detail is let go.


  • 👋 Hi, I'm @jborevitz
  • 👀 I'm interested in Precision Landscape Regeneration tools
  • 🌱 I'm currently learning (meta)genomics and landscape phenomics
  • 💞️ I'm looking to collaborate on bioinformatics, remote sensing, and agro-ecosystem modeling
  • 📫 How to reach me justin.borevitz@anu.edu.au

Popular repositories Loading

  1. libqcpp libqcpp Public

    Forked from kdm9/libqcpp

    libqc++: C++11 library for next-gen sequence quality control and assessment.

    C++

  2. jborevitz jborevitz Public

    Config files for my GitHub profile.

  3. pylidarterrain pylidarterrain Public

    Python

  4. pyterrainsol pyterrainsol Public

    Python

  5. pychannelform pychannelform Public

    Python

  6. pylandstore pylandstore Public

    Python