Change Log
0.30.0 (2026-02-26)
No significant changes.
0.30.0 (2026-02-13)
Deprecations and Removals
Remove
errarray assignment to outputRampModelinfrom_science_raw. (#620)
0.29.1 (2026-01-21)
Bug Fixes
Fix the integer type of the group DQ flags to be uint8 as indicated by the RAD schemas. (#616)
New Features
Misc
Update numpy and asdf-astropy dependency versions. (#619)
0.29.0 (2025-12-18)
New Features
Deprecations and Removals
Remove deprecated maker_utils. (#595)
Remove support for opening files from private package
roman_gdps. (#600)Deprecate the use of
stnode’s public API in favor of making it private to RDM. This limits the exposure of all the legacy support code thatstnodehas, which can cause unintended side effects if used directly. Since the only tagged objects in RDM are now the base nodes for the datamodels, there is no reason to expose them publicly anymore to users as they can just call any of the public API for those nodes on the datamodels directly. (#614)
0.28.0 (2025-10-16)
Bug Fixes
Minor bugfixes for node and datamodels attributes including, raising explicit errors when attempting to set private variables outside of RDM internal code and adding a
__delattr__method to allow the deletion of attributes for both nodes and datamodels. (#538)Bugfix for
create_*methods modifying the input defaults dictionary. (#573)Fixes for internal tag removals. (#575)
Fix deprecated maker_utils for catalog metadata updates. (#585)
Fix error where DNode/LNode assignment to a DataModel results in an invalid model. (#587)
Remove unnecessary validation prior to info, schema_info, search and validate. (#590)
Documentation
Remove or update out-dated documentation. (#593)
New Features
Update the
meta.file_dateof the saved model to the current time when saving a model. (#539)Add
DataModel.create_from_modelfor constructing new models from existing models, raw dictionaries, or old models. (#550)Added support for the removal of tagged scalars in the latest version of RAD, while maintaining backward compatibility with older versions that still use tagged scalars. (#555)
Added psf to the MSOS Datamodel. (#560)
Add a
tagkeyword only argument tocreate_minimalandcreate_fake_datamethods for instantiating a datamodel. This will make those methods target the specified tag rather than the default tag for the given model class. (#565)Enable MyPy usage and fix type issues that were found. (#566)
Minor improvements to stnode and the datamodels to make them easier for static analysis tools like mypy to understand.
Slight API change to stnode to hide the
builderparameter in thecreate_*methods. This parameter was only intended for the internal implementation of these methods, and not for public use. The other changes uncovered this issue. (#568)Updates to RDM to support the new wfi_image_photom schema. (#571)
Add API to enable grabbing the latest version of a schema via a schema URI. (#578)
Deprecations and Removals
Deprecate
maker_utils. Please useDataModel.create_minimalorDataModel.create_fake_data. (#548)Remove support for setting
ROMAN_VALIDATE=falseto disable validation. Writing invalid files is not supported. Please convert invalid models to standard python objects before saving them to ASDF (which is still supported). (#561)Remove unused
AssociationsModel. (#562)
0.27.0 (2025-08-15)
Bug Fixes
Removed dark.data from tests and maker utils. (#547)
0.26.0 (2025-07-17)
Bug Fixes
Fix meta.filename for writing to parquet. (#513)
Fix bug in RDM caused by RAD’s new “static” manifest. (#518)
Use basenames in meta.filename in parquet metadata. (#520)
Fix bug where DataModel.__deepcopy__ returned a shallow copy. (#522)
Preserves the datatype of filename. (#527)
Remove use of out of date
exposure_types. (#537)
New Features
Add
DataModel.from_schemaandDataModel.fake_data. (#514)Update
roman_datamodelsto support movingmosaic.cal_logstomosaic.meta.cal_logsfor consistency withwfi_image.meta.cal_logs. (#516)Implement __dir__ for nodes and datamodels. (#524)
Use schemas to check source catalog tables. Introduce ForcedImageSourceCatalogModel, ForcedMosaicSourceCatalogModel and MultibandSourceCatalogModel. (#529)
Update maker_utils based on level 3 MosaicModel metadata updates and improve support for items for create_fake_data. (#536)
Add support for the
all_array_storagesave option for asdf files toDataModel.savemethod. (#540)
0.25.0 (2025-05-12)
Bug Fixes
Documentation
Remove duplicate build section from readthedocs config. (#501)
New Features
Adds basic keyword group to both L1 Guidewindow datamodels (#509)
Deprecations and Removals
Remove MosaicModel.append_individual_meta (#485)
0.24.2 (2025-04-30)
Bug Fixes
Use a non-root logger. (#506)
0.24.0 (2025-04-18)
New Features
Added datamodels for MA Tables reference files. Tests are added, and a couple adjusted for the integer keywords in the datamodel. (#469)
MosaicSourceCatalogModel and ImageSourceCatalogModel now can be serialized to parquet format using the
to_parquetmethod. (#473)Added epsf and apcorr to ref_files and ref_files to image_source_catalog. (#474)
Create the WfiWcsModel (#477)
Allow source catalog models to be saved with parquet extension. (#484)
Added astropy table metadata to parquet catalog files. (#488)
Added L1 Detector-Level Guide Window File Datamodels, maker utilities, and tests. (#489)
Added L1 Average FACE Guide Window File Datamodels, maker utils, & test. (#492)
Misc
0.23.1 (2025-02-14)
New Features
0.23.0 (2025-01-16)
Bug Fixes
Renamed mosaic association model variable name. (#412)
Documentation
Updated the documentation to match the present code version. (#437)
New Features
Misc
Bump min Python version to 3.11 per SPEC 0. (#432)
Deprecations and Removals
Remove validation on assignment. (#417)
0.22.0 (2024-11-15)
Bug Fixes
Documentation
use
towncrierto handle change log entries (#384)
New Features
Open
.jsonfiles asModelLibraryifromancalis installed. (#389)Added datamodels and tests for ePSF, ABVegaOffset, and ApCorr reference files. (#393)
Add
ref_fileentry for reference pixel subtraction reference file (#397)Add python 3.13 support. (#401)
Update datamodels and tests for L1/L2 Roman Doc (#404)
Have datamodels update their
meta.filenameattribute match the filename of the file they were loaded from. This means users can rename files on disk, but when they open them in datamodels, the filename will be updated to match the new filename. (#409)
Misc
Deprecations and Removals
0.22.0 (2024-08-06)
Fix mk_level2_image utility for 3d shape. [#378]
0.21.0 (2024-08-06)
Recursively convert all meta attributes during model casting. [#352]
replace usages of
copy_arrayswithmemmap[#360]Enable asdf “lazy_tree” mode for all roman datamodels files [#358]
Fix to preserve extra TVAC specific data when processed through DQ Init. [#369]
Added maker utilities and a test for sky background metadata. [#370]
0.20.0 (2024-05-15)
Separated TVAC and FPS into their own makers to freeze from from main development. [#347]
Added statistics blocks to the TVAC and FS models. [#351]
Fix bug that prevented proper handling of
np.NDArrays. [#350]
0.19.2 (2024-05-08)
Adds test to ensure that the base
commonkeyword groups exist within theschema.infotree. [#338]Replaced the previous test for
schema_infowith something more robust. [#344]Add conversion of dict to string during Qtable construction [#348]
Do not include QTables in individual image metadata [#349]
0.19.1 (2024-04-04)
Remove the
psutildependency. [#320]Move
dqflagsfromromancaltoroman_datamodels. [#293]Added documentation for
stnode. [#316]Add support for
FPSandTVACmodels. [#309]Make datamodels follow the same subscription pattern as the
stnodebased objects. [#322]Changed image units from e/s to DN/s (and added support for MJy/sr). [#327]
Add attributes under the
basicschema toWfiMosaic.meta. [#328]Split cal_step into L2 and L3 versions. [#334]
Add Members Keyword to Resample datamodel maker utility. [#333]
Add initialization for the flux step meta. [#332]
Create
outlier_detectionschema and add bit mask field to both it andresample. [#336]Add models for Level 2 and Level 3 source catalog and segmentation map. [#331]
0.19.0 (2024-02-09)
Allow assignment to or creation of node attributes using dot notation of object instances with validation. [#284]
Bugfix for
model.meta.filenamenot matching the filename of the file on disk. [#295]Bugfix for
meta.model_typenot being set to match the model writing the file. [#296]Add
meta.wcstomaker_utils. [#302]Remove duplicate validation during
DataModel.to_asdf, replace assumed validation duringAsdfFile.__init__with call toAsdfFile.validate[#301]
0.18.0 (2023-11-06)
Allow DNode and LNode subclass instances to be assigned to tree attributes and support validation of all such instances. [#275]
Update minimum version of astropy to 5.3.0 in order to fix a bug due to a breaking change in astropy. [#258]
Update minimum version of numpy to 1.22 as this is the oldest version of numpy which is currently supported. [#258]
Fix the initialization of empty DataModels and clean up the datamodel core. [#251]
Add slope and error to dark RefModel and tests. [#280]
Added truncation to exposure. [#283]
Added optional dq array to science raw maker utility and test. [#282]
Updated the WFI_Mosaic datamodel, maker utilities, and tests to a more streamlined metadata design for level 3 products. [#288]
0.17.1 (2023-08-03)
Fix newly required units from rand [#256]
0.17.0 (2023-07-28)
Add checks for for association processing [#241]
Make a shallow copy when opening an existing datamodel, rather than a full copy. [#232]
Remove the
random_utilsmodule and makemaker_utilsentirely deterministic. [#217]Add tests to ensure consistency between file-level schemas in RAD and the corresponding datamodels in
roman_datamodels. [#214]Make
maker_utilsreturn the node when writing the node to a file. [#218]Clean up overlooked randomness in
maker_utilsand tests. [#236]Remove the unused
targetkeyword fromrdm_openand fix the original issue that the keyword was meant to address; namely, passing a datamodel instance to the constructor for that datamodel instance should return the instance back with no modifications. [#235]Use ValidationError from asdf.exceptions instead of jsonschema. Increase minimum asdf version to 2.15.0. [#234]
Update
maker_utilsto support the newcal_stepkeys. [#228, #243]Clean up the
rdm_openfunction. [#233]Include tests in coverage and turn testing warnings into errors. [#238]
Add
__repr__toDNode. [#245]Further adjustments to support CRDS for the
inverselinearityreference file. [#248]
0.16.1 (2023-06-27)
A minor release to set the minimum version of RAD to 0.16.0.
0.16.0 (2023-06-23)
Remove
ModelContainerfromroman_datamodels.datamodels. [#204]Update the
reftypeforInverseLinearityRev. [#195]Bugfix for initializing
Datamodelobjects from the incorrectstnodeclasses. [#200]Refactor the
maker_utilsto be easier to maintain and test. [#193]Remove the
STUserDictclass and fix bugs instnoderelated tocopy. [#191]Add constructor for
RampModelfrom theScienceRawModel. [#202]Add
maker_utilsfor all the datamodels. [#198]Update
roman_datamodelsto support the new reference file for the reference pixel correction. [#190]Update
DataModel.schema_urito use non-deprecatedTagDefinition.schema_urisfrom asdf [#209]Remove the
utilandmktestmodules. [#212]Refactor the
maker_utilsAPI so that it is uniform across all tests. [#207]Remove the
testing.factoriesmodule. [#197]Refactor
datamodelsto be easier to maintain and test by turning it into a sub-package and splitting the module apart. [#201]Remove the
filetypemodule. [#219]Update
roman_datamodelsto support the newmsos_stack-1.0.0schema. [#206]Refactor
stnodeto be easier to maintain and test by turning it into a sub-package and splitting the module apart. [#213]Remove the unused project deployment scripts and actions. [#222]
Refactor the ASDF extension to be entirely part of the stnode sub-package. [#220]
0.15.0 (2023-05-15)
Updates the maker utilities for guide windows to include gw_science_file_source [#179]
Remove use of deprecated
pytest-openfilespytestplugin. This has been replaced by catchingResourceWarnings. [#142]Add support for read pattern in data model makers and factories. [#154]
Remove
source_type_aptfromtarget-1.0.0related datamodels. [#152]Enable seeding for
random_utilsfunctions. [#148]Add Changelog checking CI. [#161]
Add Pull Request Template. [#147]
Add Level 3 MosaicModel and Resample stnodes, maker utils, factories, and tests. [#163]
Renamed n_ints to n_groups. Did some shape variable cleanup. [#165]
Bugfix for the
amp33shape inmk_ramp. [#166]Remove the deprecated
roman_datamodels.unitsmodule. [#172]Bugfix for
photmjsrnot being able to be set or validated properly. [#170]Add ability to turn off data validation via an environment variable. [#173]
Add support for model containers constructed from
Iterable[#164]drop support for Python 3.8 [#155]
0.14.2 (2023-03-31)
Added support for Inverse Nonlinearity data model, maker utilities, and tests. [#125]
Moved datamodel maker utilities and split random functions out to utility file. [#128]
Begin process of removing
roman_datamodels.unitsfor non-VOUnit support in favor of non-VOUnit support coming directly viaasdf-astropy. [#131]Suppress erfa warnings for randomly generated future times [#138]
update minimum version of
numpyto1.20and add minimum dependency testing to CI [#114]Use available tag schema if available during datamodels.validate [#140]
0.14.1 (2023-01-31)
Move metadata to
pyproject.tomlin accordance with PEP621 [#100]Cleanup
enumvalidation code. [#112]Add
pre-commitsupport. [#119]Apply
isortandblackcode formatters to all files. [#120]Switch from
flake8torufffor code linting. [#121]Start using
codespellfor automated spell checking. [#122]
0.14.0 (2022-11-14)
Explicitly add
gwcsto the list of dependencies. [#108]Remove the unused
stnode_testmodule. [#110]Add support for non-VOUnits to be used by Roman. [#109]
Changed science arrays to quantities. [#111]
0.13.0 (2022-08-23)
pin
asdfabove2.12.1to fix issue withjsonschemarelease [#91]Add ability to access information stored in
radschemas relative to the information stored in the datamodel. [#93]Add
IPAC/SSCas validoriginvalues. [#95]
0.12.3 (2022-08-09)
Removed CRDS version information from basic maker utility. [#80]
Updated utilities and test for change in dimensionality of err variable in ramp datamodel. [#82]
Add support for new
radschema tags. [#86, #90]Removed keywords from guidestar. [#88]
Fixed format of exposure times factory functions, changed filter ‘W146’ to ‘F146’. [#87]
Update create_ref_file() to match updated schema. [#89]
0.12.2 (2022-04-26)
Added function for model equality. [#79]
0.12.1 (2022-04-26)
Removed
observation.dateandobservation.timefrom CRDS parameters. [#78]
0.12.0 (2022-04-25)
Setup the initial infrastructure and basic files for documenting the roman_datamodels package [#67]
Fix bug with asdf.fits_embed. [#69]
Added distortion data model, utilities, and tests. [#70]
Removed exptype and p_keyword from Distortion maker utility and factory. [#71]
Updated photom maker utilities and tests. [#72]
Corrected photom units to megajanskies. [#73]
Moved ma_table_name and ma_table_number from observation to exposure groups. [#74]
Update astropy min version pin to 5.0.4. [#75]
Add utilities for
ref_file. [#76]
0.10.0 (2022-02-15)
Updated maker utility and factory for dark ref model to include group keywords from exposure. [#66]
Updated maker utilities for level 1, level 2, and ramp models to reflect changes in reference pixels. [#65]
0.9.0 (2022-02-04)
Updated rampfit and flat maker utilities to support the same functionality as the other model maker functions. Streamlined and commented all maker utility functions. Added tests to complete coverage of roman_datamodels/testing/utils.py. Cleaned out some deprecated code. [#59]
Updated stnode tests to include all cal steps. [#60]
Fix bug with asdf 2.9.x due to change in private variable name. [#63]
0.8.0 (2021-11-22)
Add support for the cal_logs array, which will be used to store calibration log messages. [#53]
0.7.0 (2021-11-10)
Modified DNode and LNode classes to provide asdf info method introspection into the contents of the class. [#61]
Modified open function to handle accepting model instances that are checked against a target datamodel class, whether supplied directly as a model instance, or obtained by the referenced ASDF file. [#52]
Created maker utility and tests for ramp_fit_output files. [#50]
0.6.0 (2021-10-26)
Reverted Exposure time types from string back to astropy Time. [#49]
Added ability to add attributes to datamodels [#33]
Added support for Saturation reference files. [#37]
Updated Ramp Pedestal Array to 2D. Fixed reference model casting in test_models. [#38]
Implemented support and tests for linearity reference model. Corrected dimension order in factories. Added primary array definition to MaskRefModel. [#39]
Updated tests and makers for exposure and optical_element requirements in reference files. [#42]
Changed exposure
start_time,mid_time, andend_timeto string to match RAD update. [#40]Implemented support, tests, and maker utility for Super Bias reference files. [#45]
Created maker utility and tests for wfi photom reference files. [#43]
Added support, tests, and maker utility for Pixel Area reference files. [#44]
Added check to ensure opening a Roman file with datamodel class that doesn’t match the class implied by the tag raises an exception. [#35]
0.5.2 (2021-08-26)
Updated ENGINEERING value to F213 in optical_element. [#29]
Workaround for setuptools_scm issues with recent versions of pip. [#31]
0.5.1 (2021-08-24)
Added tests for mask maker utility. [#25]
Added Dark Current model maker and tests. [#26]
Added Readnoise maker utility and tests. [#23]
Added Gain maker utility and tests. [#24]
0.5.0 (2021-08-07)
0.4.0 (2021-08-06)
Added support for ScienceRawModel. Removed basic from ref_common in testing/utils. [#20]
Added support for dq_init step in cal_step. [#18]
0.3.0 (2021-07-23)
Added code for DQ support. Added ramp and mask helper functions. Removed refout and zeroframe. [#17]
0.2.0 (2021-06-28)
Added support for ramp, ramp_fit_output, wfi_img_photom models. [#15]
Set rad requirement to 0.2.0 and update factories and tests. Add
DarkRefModel,GainRefModel, andMaskRefModel. [#11]