Skip to content

mesh conversion tools not giving full provenance #140

Open
@xylar

Description

@xylar

The mesh conversion tools (cell culler, mesh converter and mask creator) don't appear to be including options with flags in their provenance information. For example, the following call sequence from init_step1.py for global_ocean test cases:

./MpasMaskCreator.x  base_mesh.nc land_mask.nc -f land_coverage.geojson
./MpasMaskCreator.x  base_mesh.nc critical_passages_mask.nc -f critical_passages.geojson
./MpasCellCuller.x  base_mesh.nc culled_mesh.nc -m land_mask.nc
./MpasMaskCreator.x  culled_mesh.nc seed_mask.nc -s seed_points.geojson
./MpasCellCuller.x  culled_mesh.nc culled_mesh_final.nc -i seed_mask.nc
./MpasMaskCreator.x  culled_mesh_final.nc critical_passages_mask_final.nc -f critical_passages.geojson

results in the following histories:

$ ncdump -h land_mask.nc 
...
        :history = "MpasMaskCreator.x base_mesh.nc land_mask.nc\n",
            "MpasMeshConverter.x base_grids/x1.40962.grid.nc base_meshes/x1.40962.grid.nc" ;
...
$ ncdump -h critical_passages_mask.nc
...
        :history = "MpasMaskCreator.x base_mesh.nc critical_passages_mask.nc\n",
            "MpasMeshConverter.x base_grids/x1.40962.grid.nc base_meshes/x1.40962.grid.nc" ;
...
$ ncdump -h culled_mesh.nc
...
        :history = "MpasCellCuller.x base_mesh.nc culled_mesh.nc\n",
            "MpasMeshConverter.x base_grids/x1.40962.grid.nc base_meshes/x1.40962.grid.nc" ;
...
$ ncdump -h seed_mask.nc
...
        :history = "MpasMaskCreator.x culled_mesh.nc seed_mask.nc\n",
            "MpasCellCuller.x base_mesh.nc culled_mesh.nc\n",
            "MpasMeshConverter.x base_grids/x1.40962.grid.nc base_meshes/x1.40962.grid.nc" ;
...

and so on, all without the flags.

Presumably a second issue is that the provenance from the files included with flags is also missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions