You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not quite sure if this is standard, but: It would be useful if we could get a function to convert an epoch into Astropy Time/Datetime by parsing the format from its metadata (e.g. if it has the attribute FORM_PTR: CDF_TIME_TT2000), then using the cdf_tt2000 Astropy format automatically.
So something like CDFAstropy.convert_to_astropy(cdf_file['Epoch'], attributes=cdf_file.varattsget('Epoch')). Or just adding a method to the CDF file itself e.g. cdf_file.to_astropy_time('Epoch').
The text was updated successfully, but these errors were encountered:
Not quite sure if this is standard, but: It would be useful if we could get a function to convert an epoch into Astropy Time/Datetime by parsing the format from its metadata (e.g. if it has the attribute
FORM_PTR: CDF_TIME_TT2000
), then using thecdf_tt2000
Astropy format automatically.So something like
CDFAstropy.convert_to_astropy(cdf_file['Epoch'], attributes=cdf_file.varattsget('Epoch'))
. Or just adding a method to the CDF file itself e.g.cdf_file.to_astropy_time('Epoch')
.The text was updated successfully, but these errors were encountered: