Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2020-05-11 15:01:43
Size: 299
Editor: JohnWeirich
Comment:
Revision 5 as of 2020-05-11 15:05:35
Size: 1293
Editor: JohnWeirich
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * Use the AltWG tools to get the proper format  * Use the AltWG toolset to get the proper format
Line 9: Line 9:
 * Notes from Ray Espiritu on 5 May 2020 about the ini file "It may look familiar as it has the same format as the nft config files you send me for generating MLNs. Format is KEYWORD#value. Notice that “//” denotes comment lines. This does not allow you to add custom keywords; the keyword has to exactly match a keyword that is normally populated in the fits header."
 * There will still be some header information you will want to change. For this use ChangeFitsHeader, also part of the AltWG distribution toolset.
 * More notes from Ray Espiritu on 5 May 2020 for "This tool allows you to add,delete, or modify keywords in the header. Run “ChangeFitsHeader –examples” to see examples for each operation (add, delete, modify, change). There is a limitation inherent in the fits format in that the new fits header cannot have a size difference of more than 2880 bytes from the old fits header. You shouldn’t encounter that if you are adding or deleting a handful of keywords.

Instructions to convert a MAP file to other formats

Convert to FITS

  • Use the AltWG toolset to get the proper format

Maplet2FITS --configFile fitsConfig_orex_spc.ini RAD201.MAP RAD201-fullv1.fits
  • An example ini file can be found here fitsConfig_spc.ini.

  • Notes from Ray Espiritu on 5 May 2020 about the ini file "It may look familiar as it has the same format as the nft config files you send me for generating MLNs. Format is KEYWORD#value. Notice that “//” denotes comment lines. This does not allow you to add custom keywords; the keyword has to exactly match a keyword that is normally populated in the fits header."
  • There will still be some header information you will want to change. For this use ChangeFitsHeader, also part of the AltWG distribution toolset.

  • More notes from Ray Espiritu on 5 May 2020 for "This tool allows you to add,delete, or modify keywords in the header. Run “ChangeFitsHeader –examples” to see examples for each operation (add, delete, modify, change). There is a limitation inherent in the fits format in that the new fits header cannot have a size difference of more than 2880 bytes from the old fits header. You shouldn’t encounter that if you are adding or deleting a handful of keywords.

Convert MAP (last edited 2021-04-29 10:06:52 by JohnWeirich)