Skip to content

Commit

Permalink
rcal-920 Updates based on review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ddavis-stsci committed Oct 15, 2024
1 parent 9e73b2e commit bde4136
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions romancal/associations/lib/asn_schema_jw_level3.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,17 @@
},
"skycell_wcs_info": {
"description": "WCS information for the projection cell",
"type": "string",
"properties": {
"type": "object",
"additionalproperties": {
"type": "object",
"required" : [
"pixel_scale",
"ra_cent",
"dec_cent",
"shiftx",
"shifty"
],
"properties":{
"pixel_scale": {
"type": "number"
},
Expand All @@ -40,7 +49,7 @@
"shifty": {
"type": "integer"
}
}
}}
},
"target": {
"description": "Canonical name of the astronomical object being observed.",
Expand Down
2 changes: 1 addition & 1 deletion romancal/associations/skycell_asn.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def skycell_asn(self):
prompt_product_asn["asn_type"] = "image"
prompt_product_asn["program"] = program_id
prompt_product_asn["target"] = patch_name
prompt_product_asn["skycell_wcs_info"] = json.dumps(projcell_info)
prompt_product_asn["skycell_wcs_info"] = projcell_info
_, serialized = prompt_product_asn.dump(format="json")
outfile.write(serialized)

Expand Down

0 comments on commit bde4136

Please sign in to comment.