Skip to content

Age/spreading grids parameterised by topologies/isochrons and reference frame #360

@jcannon-gplates

Description

@jcannon-gplates

In yesterday's meeting Dietmar mentioned ultimately having different sets of age grids (in PlateModelManager) based on:

  1. Whether generated from topologies and/or isochrons. So there would be 3 combinations:

    • topologies-only (eg, 410-0 Ma),
    • isochrons-only (eg, 250-0 Ma) and
    • a topologies-isochrons mixture (eg, topologies 410-250 and isochrons 250-0).

    With, I think, the default being isochrons only - but I'm not sure - it might have been topologies-isochrons mixture.

  2. Reference frame used to generate: with choices being PMAG and mantle (optimised absolute plate motion) where, since PMAG will be the default reference frame (000) for all models going foward, PMAG would be the default here too.

Currently you have PlateModel.get_raster(raster_name, time). One option is to add the above two categories as two extra parameters. But, then again, they only really apply to "age grid" rasters, not other types of rasters. In which case you could have another method, such as PlateModel.get_age_grid_raster(time, generated_from=<isochrons-only>, reference_frame=<PMAG>), that has the two parameters (the first being an enumeration, and maybe the second also an enum) with the appropriate defaults.

Anyway, that's just an idea. You may prefer to just encode all this in the raster_name argument of the existing PlateModel.get_raster. Ie, in addition to your existing "AgeGrids" parameter (which could now be the default age grid raster) you could have something like "AgeGrids-IsochronsOnly-PMAG", etc. Or can have that in addition to PlateModel.get_age_grid_raster(time, generated_from=<isochrons-only>, reference_frame=<PMAG>) - which would require a code level change to PlateModelManager - but I think it'd be worth it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions