I recently implemented IO to/from ECSV files via astropy.table in specutils, and coded up a quick minimal implementation to save out the spatial regions relevant to Jdaviz in spacetelescope/jdaviz#2874 to provide export parity with spectral regions. I spoke to @larrybradley offline about upstreaming that code to here, and he pointed out that it would need to handle all the metadata available in regions, the other regions that we don't use in JDaviz, and implement a reader/parser as well. This issue is mostly to register my intent to do that at some point, and to provide a public place for any further discussion.
I recently implemented IO to/from ECSV files via
astropy.tableinspecutils, and coded up a quick minimal implementation to save out the spatial regions relevant to Jdaviz in spacetelescope/jdaviz#2874 to provide export parity with spectral regions. I spoke to @larrybradley offline about upstreaming that code to here, and he pointed out that it would need to handle all the metadata available inregions, the other regions that we don't use in JDaviz, and implement a reader/parser as well. This issue is mostly to register my intent to do that at some point, and to provide a public place for any further discussion.