Skip to content

Small clean up of template construction#918

Merged
pgbrodrick merged 4 commits into
isofit:devfrom
brentwilder:template-construction-cleanup
Mar 31, 2026
Merged

Small clean up of template construction#918
pgbrodrick merged 4 commits into
isofit:devfrom
brentwilder:template-construction-cleanup

Conversation

@brentwilder

Copy link
Copy Markdown
Contributor

Very minor but we can leverage the modtran polynomials and completely remove calc_modtran_max_water(). This allows for max_water to be estimated for any RT engine. For background, a method similar to this was used to create the polynomials so we are saving ourselves a step by just using the stored data.

I also removed ,

  • define_surface_types() - appears to be a classification method, but we already have similar code in the multicomponent_classification.py which uses the SurfaceMapping. Probably best to stick with this one.
  • copy_file_subset() - unused
  • reassemble_cube() - unused

@pgbrodrick

Copy link
Copy Markdown
Collaborator

Thanks Brent! As discussed today, this looks great....mechanics all look solid too.

@pgbrodrick pgbrodrick merged commit c0bd468 into isofit:dev Mar 31, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants