How can I import data from Zwicky Transient Factory data, accessed from VSX link ?
Announcement: New Forums
We are excited to announce the launch of our new forums! You can access it forums.aavso.org. For questions, please see our blog post. The forums at aavso.org/forum have become read-only.
Announcement: New Applications
We are excited to announce the launch of our new applications! We're opening up early access to our new applications for searching, downloading, and submitting photometric observations. You can now access these applications through these links:
We ask for your feedback in order to help us improve these applications. Please send feedback for the applications above to feedback@aavso.org. Note: please avoid duplicating submissions across the two submit applications.
I think the issue here is in the FIELDS spec, but can you please give an example VSX search for which ZTF data exists. Then we'll be able to help more easily.
To export the VSX link data, simply select all the text, copy and paste into an EXCEL previously formatted as plain text, then include the header indicated in the example and save the file as CSV.
You will need to create two files, one for zg and zr.
Remember to open the files in Vstar as "Flexible text format".
I link examples data obtained from KELT KC17C011802. Zg and Zr files.
Vstar image.
A question?, the HJD data in Excel when you copy / paste it, how do you see it? "2458360.9765088256" or "24.583.609.765.088.200".
If it is the second option, it is possible that the language (region) of your excel is not configured correctly. It must be in English to avoid misinterpretation of "." Thousands, this way you won't need to change the format to plain text.
If the problem is the header, as David Benn says ... the most simple is to use a text editor to add the lines #.
you can try this way:
https://github.com/AAVSO/VStar/wiki/Working-with-Observation-Sources#loading-ztf-data-with-flexible-text-format-plug-in
Thanks for the suggestion. What about the link from VSX ?
Anyway, I've followed instructions, but VStar gives me a error message:
...the first read error 'FIELDS=' is not a well formed 'Julian Day'. Only decimal digits and a single '.' are permitted
Hi Franco
I think the issue here is in the FIELDS spec, but can you please give an example VSX search for which ZTF data exists. Then we'll be able to help more easily.
David
Hi everybody,
Look forward to being of help...
To export the VSX link data, simply select all the text, copy and paste into an EXCEL previously formatted as plain text, then include the header indicated in the example and save the file as CSV.
You will need to create two files, one for zg and zr.
Remember to open the files in Vstar as "Flexible text format".
I link examples data obtained from KELT KC17C011802.
Zg and Zr files.
Vstar image.
Regarts
David
Hi David
Thanks. The FIELDS line was the problem as I suspected.
Franco, David's example adds these lines to the start of the file:
The #FIELDS line is key to being able to read it in VStar with Max's Flexible File Format plugin. You need at least time and mag here.
Let us know how you get on with this.
David (the other one)
Thanks everybody.
Preliminary question: how to format excell to plain text? (I've got an old version and using libre office might generate errors).?
Franco
Hi Franco
You can save as CSV in Excel, Libre Office or Open Office.
Even simpler is to use a text editor to add the # lines.
Let us know how it goes.
David
Hi Franco,
A question?, the HJD data in Excel when you copy / paste it, how do you see it? "2458360.9765088256" or "24.583.609.765.088.200".
If it is the second option, it is possible that the language (region) of your excel is not configured correctly. It must be in English to avoid misinterpretation of "." Thousands, this way you won't need to change the format to plain text.
If the problem is the header, as David Benn says ... the most simple is to use a text editor to add the lines #.
Regards
David
Btw, the name of this wide-field sky astronomical survey is Zwicky Transient Facility.
Patrick
Hi, I got "Zwicky Transient Factory data" from external links of VSX. If it is incorrect, VSX editors should be informed.
Franco
Hi Franco,
The VSX link only says "ZTF".
Cheers,
Sebastian