From rspencercarr at gmail.com Tue Mar 1 15:35:46 2022 From: rspencercarr at gmail.com (Robert Carr) Date: Tue, 1 Mar 2022 15:35:46 -0500 Subject: [AstroPy] A Mystery: DAOStarFinder Not Finding an Obvious Star in Just One Image Message-ID: Thank you again, Eric, for your suggestions. I do not believe that this star was not saturated. I checked a number of other stars in the image of equivalent or greater peak and total flux. Interestingly, these experienced no issues. Vizier indicates that the object in question, J102343.30+003819., is a star rather than some extended object. It registered without issue in other exposures taken in conditions with significantly worse seeing. My only thought is perhaps some very localized seeing condition? Anyway, I have relaxed my constraints on sharpness and found that this captured the missing object without sweeping up "undesirables." Problem solved! Thanks again! Bob Carr -------------- next part -------------- An HTML attachment was scrubbed... URL: From didrik.nilsen at live.no Mon Mar 28 21:28:22 2022 From: didrik.nilsen at live.no (Didrik Nilsen) Date: Tue, 29 Mar 2022 01:28:22 +0000 Subject: [AstroPy] MGEFIT Package Message-ID: Hi, I am currently working with MGEFIT. There are some values connected to certain variables that I am unsure of what means, and I was wondering if anyone had any experience with MGEFIT who could help me interpret? Best regards, Didrik Langmoen Nilsen University of Alaska Anchorage Ski Team BBA Global Logistics & Supply Chain Managment C | +1 (907) 301 5507 E | dlnilsen at alaska.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From pae9 at leicester.ac.uk Tue Mar 29 04:50:30 2022 From: pae9 at leicester.ac.uk (Phil Evans) Date: Tue, 29 Mar 2022 09:50:30 +0100 Subject: [AstroPy] Bad time file being downloaded Message-ID: Hi everyone A whole bunch of my codes have suddenly started failing, on astropy.time.light_travel_time After much debugging I've found the issue: the code downloads a URL: ftp://anonymous:mail%40astropy.org at gdc.cddis.eosdis.nasa.gov/pub/products/iers/finals2000A.all and presumably expects to find leap seconds or something. Instead it gets HTML saying "This site is currently unavailable". Ultimately, I get the error: ValueError: Column year failed to convert: invalid literal for int() with base 10: ' From mirosaide at gmail.com Tue Mar 29 12:18:05 2022 From: mirosaide at gmail.com (Miro Saide) Date: Tue, 29 Mar 2022 18:18:05 +0200 Subject: [AstroPy] Bad time file being downloaded In-Reply-To: References: Message-ID: Hi Phil, I had a similar error but running something different, I uninstalled Astropy and reinstalled it using: pip3 install astropy[all], I am running it on ubuntu 20.04.4 LTS... And Finally, it worked. *Ramiro Caisse Saide* *MPhil Research Student* Department of Physics University of Mauritius Contact Number: +258 845672884 Email: ramiro.saide at umail.uom.mu Phil Evans escreveu no dia ter?a, 29/03/2022 ?(s) 10:51: > Hi everyone > > A whole bunch of my codes have suddenly started failing, on > astropy.time.light_travel_time > > After much debugging I've found the issue: the code downloads a URL: > ftp://anonymous:mail%40astropy.org at gdc.cddis.eosdis.nasa.gov/pub/products/iers/finals2000A.all > and presumably expects to find leap seconds or something. Instead it gets > HTML saying "This site is currently unavailable". > > Ultimately, I get the error: > > ValueError: Column year failed to convert: invalid literal for int() with > base 10: ' > Obviously from the > This is causing me major headaches, as I have some pretty critical scripts > affected. Is there an easy solution, eg. for me to blacklist the above URL > or something? > > Thanks > > Phil > > -- > ------------------------- > > Phil Evans, > Swift Development Scientist & Athena W-ISC Technical Lead > X-ray and Observational Astronomy Group, > University of Leicester > > Tel: +44 (0)116 252 5059 > Mobile: +44 (0)7780 980240 (work) > Mobile: +44 (0)7974 977723 (personal) > pae9 at leicester.ac.uk > http://www.star.le.ac.uk/~pae9http://www.swift.ac.uk > > Follow me as a Swift scientist on Twitter: @swift_philhttp://www.star.le.ac.uk/~pae9/twitter > > _______________________________________________ > AstroPy mailing list > AstroPy at python.org > https://mail.python.org/mailman/listinfo/astropy > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pae9 at leicester.ac.uk Tue Mar 29 12:43:36 2022 From: pae9 at leicester.ac.uk (Evans, Phil (Dr.)) Date: Tue, 29 Mar 2022 16:43:36 +0000 Subject: [AstroPy] Bad time file being downloaded In-Reply-To: References: Message-ID: <23A4F64A-94C4-4C1F-90A4-91C77221F85A@leicester.ac.uk> Hi Ramiro and others, I tried reinstalling astropy but no luck. For now, I?ve got a semi-fix because it was working on another machine (which had obviously downloaded from a different site) so I copied my .astropy directory across, but this is ony short-term, and doesn?t deal with the underlying problem that astropy is downloading essentially a 404 page and so throwing an error - that there doesn?t seem to be a way to avoid. Is there no way to set preferences or blacklist a given URL? I don?t know the intimate details of astropy, but it downloads sites.json, so I assume from this it selects where to get the IERS stuff from(?) So ideally I?d like to be able to say, ?Don?t use that site.? Actually - more ideally, the back-end of astropy should realise when the file it has downloaded is not the expected file and switch to a different source ? I guess maybe I should report this as a bug on the git repo? Phil On 29 Mar 2022, at 17:18, Miro Saide > wrote: Hi Phil, I had a similar error but running something different, I uninstalled Astropy and reinstalled it using: pip3 install astropy[all], I am running it on ubuntu 20.04.4 LTS... And Finally, it worked. Ramiro Caisse Saide MPhil Research Student Department of Physics University of Mauritius Contact Number: +258 845672884 Email: ramiro.saide at umail.uom.mu Phil Evans > escreveu no dia ter?a, 29/03/2022 ?(s) 10:51: Hi everyone A whole bunch of my codes have suddenly started failing, on astropy.time.light_travel_time After much debugging I've found the issue: the code downloads a URL: ftp://anonymous:mail%40astropy.org at gdc.cddis.eosdis.nasa.gov/pub/products/iers/finals2000A.all and presumably expects to find leap seconds or something. Instead it gets HTML saying "This site is currently unavailable". Ultimately, I get the error: ValueError: Column year failed to convert: invalid literal for int() with base 10: ' http://www.star.le.ac.uk/~pae9 http://www.swift.ac.uk Follow me as a Swift scientist on Twitter: @swift_phil http://www.star.le.ac.uk/~pae9/twitter _______________________________________________ AstroPy mailing list AstroPy at python.org https://mail.python.org/mailman/listinfo/astropy _______________________________________________ AstroPy mailing list AstroPy at python.org https://mail.python.org/mailman/listinfo/astropy ------------------------- Phil Evans, Swift Development Scientist & Athena W-ISC Technical Lead X-ray and Observational Astronomy Group, University of Leicester Tel: +44 (0)116 252 5059 Mobile: +44 (0)7780 980240 (work) Mobile: +44 (0)7974 977723 (personal) Office: G49 Physics Building pae9 at leicester.ac.uk http://www.star.le.ac.uk/~pae9 http://www.swift.ac.uk Follow me as a Swift scientist on Twitter: @swift_phil http://www.star.le.ac.uk/~pae9/twitter -------------- next part -------------- An HTML attachment was scrubbed... URL: From ejensen1 at swarthmore.edu Tue Mar 29 15:02:45 2022 From: ejensen1 at swarthmore.edu (Eric L. N. Jensen) Date: Tue, 29 Mar 2022 15:02:45 -0400 Subject: [AstroPy] Bad time file being downloaded In-Reply-To: <23A4F64A-94C4-4C1F-90A4-91C77221F85A@leicester.ac.uk> References: <23A4F64A-94C4-4C1F-90A4-91C77221F85A@leicester.ac.uk> Message-ID: <375258DC-0EB5-45D8-99FD-D887A145D1F7@swarthmore.edu> Hi Phil, You should be able to edit your .astropy/config/astropy.cfg file and find the iers section there to set some things, for example to set auto_download to False. Details on the iers config parameters are here: https://docs.astropy.org/en/stable/utils/iers.html#configuration-parameters It looks like you can also edit the iers_auto_url parameter to point to a different URL if you like. I agree that ideally astropy should recognize if it?s not getting sensible output from a given download, so that could be a good issue to open. But perhaps the above will help in the short term. Hope this helps - Eric Eric Jensen Professor of Astronomy Chair, Natural Sciences & Engineering Division Swarthmore College > On Mar 29, 2022, at 12:43 PM, Evans, Phil (Dr.) wrote: > > Hi Ramiro and others, > > I tried reinstalling astropy but no luck. For now, I?ve got a semi-fix because it was working on another machine (which had obviously downloaded from a different site) so I copied my .astropy directory across, but this is ony short-term, and doesn?t deal with the underlying problem that astropy is downloading essentially a 404 page and so throwing an error - that there doesn?t seem to be a way to avoid. > > Is there no way to set preferences or blacklist a given URL? I don?t know the intimate details of astropy, but it downloads sites.json, so I assume from this it selects where to get the IERS stuff from(?) So ideally I?d like to be able to say, ?Don?t use that site.? Actually - more ideally, the back-end of astropy should realise when the file it has downloaded is not the expected file and switch to a different source ? I guess maybe I should report this as a bug on the git repo? > > Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: From didrik.nilsen at live.no Tue Mar 29 16:12:14 2022 From: didrik.nilsen at live.no (Didrik Nilsen) Date: Tue, 29 Mar 2022 20:12:14 +0000 Subject: [AstroPy] MGEFIT Package In-Reply-To: <656b97c6-5b7e-e7fc-9d94-8c902e1fffdd@laposte.net> References: <656b97c6-5b7e-e7fc-9d94-8c902e1fffdd@laposte.net> Message-ID: That is correct yes. Get Outlook for iOS ________________________________ From: Yannick Copin Sent: Tuesday, March 29, 2022 1:23:54 AM To: Didrik Nilsen Cc: astropy at python.org Subject: Re: [AstroPy] MGEFIT Package Hi, On 3/29/22 03:28, Didrik Nilsen wrote: > I am currently working with MGEFIT. There are some values connected to certain variables that I am > unsure of what means, and I was wondering if anyone had any experience with MGEFIT who could help me > interpret? It's a long time I did not work w/ MGEFIT (2004A&A...415..889C!), the current "reference" python implementation is Michele Cappellari's one at https://www-astro.physics.ox.ac.uk/~cappellari/software/#mge Is this the one you're using? Cheers, -- ??????? ????? - Doctus cum libro http://www.ip2i.in2p3.fr/perso/ycopin/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From pae9 at leicester.ac.uk Thu Mar 31 03:23:42 2022 From: pae9 at leicester.ac.uk (Phil Evans) Date: Thu, 31 Mar 2022 08:23:42 +0100 Subject: [AstroPy] Bad time file being downloaded In-Reply-To: <375258DC-0EB5-45D8-99FD-D887A145D1F7@swarthmore.edu> References: <23A4F64A-94C4-4C1F-90A4-91C77221F85A@leicester.ac.uk> <375258DC-0EB5-45D8-99FD-D887A145D1F7@swarthmore.edu> Message-ID: Just rounding this off a bit more: If I download the file myself: (curl -u anonymous: -O --ftp-ssl ftp://gdc.cddis.eosdis.nasa.gov/pub/products/iers/finals2000A.all) the file downloads fine, but when astropy does it (saying "Downloading ftp://anonymous:mail%40astropy.org at gdc.cddis.eosdis.nasa.gov/pub/products/iers/finals2000A.all from https://datacenter.iers.org/data/9/finals2000A.all") it gets the "service not available" error). I will report to astropy git as an issue - has anyone else seen this? Easy steps to reproduce (first moving your .astropy directory away so that you don't keep a cached file) mv ~/.astropy ~/.astropy_KEEP ipython3 from astropy.time import Time Time.now().ut1 And I get an error. THanks Phil On 29/03/2022 20:02, Eric L. N. Jensen wrote: > Hi Phil, > > You should be able to edit your?.astropy/config/astropy.cfg file and > find the iers section there to set some things, for example to set > auto_download to False. ? Details on the iers config parameters are > here: > https://docs.astropy.org/en/stable/utils/iers.html#configuration-parameters > > > > It looks like you can also edit the?iers_auto_url parameter to point > to a different URL if you like. > > I agree that ideally astropy should recognize if it?s not getting > sensible output from a given download, so that could be a good issue > to open. ?But perhaps the above will help in the short term. > > Hope this helps - > > Eric > Eric Jensen > Professor of Astronomy > Chair, Natural Sciences & Engineering Division > Swarthmore College > >> On Mar 29, 2022, at 12:43 PM, Evans, Phil (Dr.) >> wrote: >> >> Hi Ramiro and others, >> >> I tried reinstalling astropy but no luck. For now, I?ve got a >> semi-fix because it was working on another machine (which had >> obviously downloaded from a different site) so I copied my .astropy >> directory across, but this is ony short-term, and doesn?t deal with >> the underlying problem that astropy is downloading essentially a 404 >> page and so throwing an error - that there doesn?t seem to be a way >> to avoid. >> >> Is there no way to set preferences or blacklist a given URL? I don?t >> know the intimate details of astropy, but it downloads sites.json, so >> I assume from this it selects where to get the IERS stuff from(?) So >> ideally I?d like to be able to say, ?Don?t use that site.? Actually - >> more ideally, the back-end of astropy should realise when the file it >> has downloaded is not the expected file and switch to a different >> source ? I guess maybe I should report this as a bug on the git repo? >> >> Phil > > > _______________________________________________ > AstroPy mailing list > AstroPy at python.org > https://mail.python.org/mailman/listinfo/astropy -- ------------------------- Phil Evans, Swift Development Scientist & Athena W-ISC Technical Lead X-ray and Observational Astronomy Group, University of Leicester Tel: +44 (0)116 252 5059 Mobile: +44 (0)7780 980240 (work) Mobile: +44 (0)7974 977723 (personal) pae9 at leicester.ac.uk http://www.star.le.ac.uk/~pae9 http://www.swift.ac.uk Follow me as a Swift scientist on Twitter: @swift_phil http://www.star.le.ac.uk/~pae9/twitter -------------- next part -------------- An HTML attachment was scrubbed... URL: