Skip to content

Convert FITS to roman_datamodel, save asdf, assign simulation data and structure output filename #82

@0Navin0

Description

@0Navin0
  1. Saving asdf

Helpful Info

  • Use one of ImageMode.save() or ImageModel.to_asdf()
  • either use save (returns None) or to_asdf (returns Path object)
  • save() can conditionally check the file extension between asdf and parquet
  • automate the name of the asdf file -- use input config to name it. Ask someone if this behavior is desired. Should the asdf file be named the same as the currently saved fits.gz file? If yes, then use the input config in save(). save() takes a dir_path argument, and config has a dir key to use.
  1. Output filename
  1. Review information transfer from FITS to RDM
  • We have begun using romand_datamodels (RDM) with ImageModel.create_fake_dat(), we know the expected schema and data types. Use the websites https://roman-docs.stsci.edu/data-handbook/wfi-data-levels-and-products and github repo rad to understand the meaning of meta keys.
  • Now, replace the default values to fill in as much information as we can for now. Discuss with everyone what all data we can fill in.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions