These are chat archives for astropy/astropy

29th
Nov 2016
Wolfgang Kerzendorf
@wkerzendorf
Nov 29 2016 17:12
Is there an astronomy conda repo?
We have some packages that we would like to donate.
matrixbot
@matrixbot
Nov 29 2016 17:15
Cadair there is an openastronomy one
Cadair would recommend you put them on conda-forge
Cadair openastronomy can copy in from conda forge
Wolfgang Kerzendorf
@wkerzendorf
Nov 29 2016 17:27
thanks - so just put them on conda forge. Will do and make a PR to openastro conda.
matrixbot
@matrixbot
Nov 29 2016 17:30
Cadair conda forge is awesome
Anne Archibald
@aarchiba
Nov 29 2016 18:55
Is there a utility function to convert a string to MJD? I thought Time("56000.1", format="mjd") would work, but no.
I need accuracy, so passing through float isn't a good solution, and unfortunately np.float128(string) also loses accuracy.
matrixbot
@matrixbot
Nov 29 2016 19:01
Cadair why does Time("56000.1", format="mjd") not work? Just looses precision?
Anne Archibald
@aarchiba
Nov 29 2016 19:19
ValueError: Input values did not match the format class mjd
Anne Archibald
@aarchiba
Nov 29 2016 19:46
Also: is there a utlity function to get integer and fractional MJDs out of a Time object, or do I have to write one to convert the jd1/jd2?
matrixbot
@matrixbot
Nov 29 2016 22:23
manjaro_ on Freenode hello