I will take a look at how JHelioviewer currently handles scaling, but most likely I will need to use different approaches depending on the type of data. For instance, while EIT has a more accurate value for RSUN than CDELT, LASCO images do not have a value set for RSUN:
cat /var/www/jp2/v0.8/LASCO-C2/white-light/2010/09/04/2010_09_04__17_36_05_476__SOHO_LASCO_C2_white-light.jp2 | grep -a RSUN
<RSUN>0.0000000</RSUN>
I will take a look at how JHelioviewer currently handles scaling, but most likely I will need to use different approaches depending on the type of data. For instance, while EIT has a more accurate value for RSUN than CDELT, LASCO images do not have a value set for RSUN:
cat /var/www/ jp2/v0. 8/LASCO- C2/white- light/2010/ 09/04/2010_ 09_04__ 17_36_05_ 476__SOHO_ LASCO_C2_ white-light. jp2 | grep -a RSUN 0000000< /RSUN>
<RSUN>0.