Skip to main content

ASAS-SN

72 posts / 0 new
Last post
mpyat2
mpyat2's picture
ASAS-SN Import

Hi Thomas,

Currently, an updated ASAS-SN plugin recognizes CSV-data, downloaded by pressing [CSV] button in ASAS-SN result form (see attached picture). 

I'm not sure that ASAS-SN plugin available through the plugin manager is updated to the latest version which can read actual ASAS-SN CVS format. You can try the last version (which should be included in the next VStar release) from my Google drive: https://drive.google.com/open?id=1LlCQgTYb-PXrO2xEej7SJrCT7z43OjYN

Download .jar file and put it in VStar plugin directory (vstar_plugin directory located in your home folder) over existing "org.aavso.tools.vstar.external.plugin.ASASSNObservationSource.jar".

This version of the plugin shows "Parameters" dialog (see attached picture), in most cases you can simply press [ok] button.

Best regards,

Max

P.S. The data you attached in your message cannot be read directly by ASAS-SN plugin because they are not comma-separated and has other order of columns.

Textor67
Textor67's picture
No choice between V and g

Dear Max, thank you for your fast and detailed answer! I have the latest version of the plugin installed and the data import works almost without problems.

Before the import, no window is opened asking if you want to analyze V or g etc. All data is displayed in one color. Do you have any idea?

mpyat2
mpyat2's picture
ASAS-SN plugin

Dear Thomas, 

ASAS-SN Sky Patrol now gives data in both V and g filters, current (last published) version of ASAS-SN plugin does not support filters. 

A version to which I sent you a link does support V and g filters. Currently, it is in the trunk of VStar SVN (https://sourceforge.net/p/vstar/code/HEAD/tree/trunk/) and hopefully will be included in the next release.

You could download *.jar by the link I've mentioned in my previous mail and replace the plugin in "vstar_plugin" directory.

Best regards,

Max

David Benn
David Benn's picture
Thanks Max

Thanks Max. Yep, definitely will be in the next release. Apologies for the delay. Getting there. 

David

scopegal
More ASAS-SN plugin issues-not uploading CSV files

Hey guys,

so I've tried the latest plugin as of today and I got an error message that the file was null and could not upload.  I've attached it as a png file screenshot I took while trying to upload ASAS-SN csv files.  I tried every combination possible that the selection/menu box asked me for and still nothing.  It did not matter what filters I checked or uncheck, auto or photometry DB was checked or unchecked.

I've also uploaded the CSV file I was working with, any help is greatly appreciated!

 

mpyat2
mpyat2's picture
Hi,

Hi,

Format of "Tabby Data from ASAS-SN as csv file.csv" (downloaded from ASAS-SN Photometry Database by "Download CSV Dataset (Max 1000 Sources" button) currently is not supported.

Unfortunately, I cannot reproduce the error for "AP14246098.csv". In my system (Win10/Java 12.0.1) I can read and display it. The error looks strange to me. Looks like it is from VStar core. Probably David could help?

Regards,

Max

 

David Benn
David Benn's picture
Checking version

Hi scopegal, Max

Sorry for the delay.

I can't reproduce the error either. AP14246098.csv loads fine in my configuration.

scopegal, what I wonder is whether you are using Max's latest non-official (i.e. not yet available in plugin manager) from his Google Drive link earlier in this topic?

Having said that, I have seen that error in other contexts before, so can you reproduce the error then send the full log contents via File -> Log...?

Thanks.

David

scopegal
Same Issue

Hey,

So I updated the plugin from the VStar AAVSO plugin page and closed it and opened the software again and still got the "No observations for the specified period" error.  What is going on?  I don't have anything to upload to you other than the files I am trying to upload into VStar.

David Benn
David Benn's picture
Plugin location

Hi scopegal

Max can correct me if I'm wrong, but the location of the updated plugin that may fix this problem is here:

https://drive.google.com/drive/folders/1LlCQgTYb-PXrO2xEej7SJrCT7z43OjYN

(the zip file in that location).

This plugin update is not yet available via the VStar Plugin Manager. The intention is that it will be when the next VStar release is avaiable.

David

mpyat2
mpyat2's picture
Hi scopegal,

Hi scopegal,

from what source do you download the data? I wrote (see https://aavso.org/comment/68688#comment-68688) :

"Format of "Tabby Data from ASAS-SN as csv file.csv" (downloaded from ASAS-SN Photometry Database by "Download CSV Dataset (Max 1000 Sources" button) currently is not supported."

The plugin supports data generated by Sky Patrol (https://asas-sn.osu.edu/).

If you want to use data from "ASAS-SN Photometry Database", do not load via button [Download CSV Dataset (Max 1000 Sources)], instead, click a link to a dataset (see attached picture, green rounded rectangle). A page for the star will be opened. Then click [CSV] button in the "Export Data" section.

The button  [Download CSV Dataset (Max 1000 Sources)] generates currently unsupported format (there can be several objects in one file) 

Best regards,

Max

mpyat2
mpyat2's picture
Hi scopegal again,

Hi scopegal again,

If you absolutely need to load data from your files ASAS-SN for NSV 13109 Cyg.csv and Tabby Data from ASAS-SN as csv file.csv (almost without their modification) you could use my "Flexible Text Format" plugin (can be downloaded here https://drive.google.com/open?id=1hCWKb4_rI5HfdADmFhb7imC39cIiRbJQ )

To make files readable by the plugin, add two lines at the beginning of the files ("#FIELDS" and "#DATE" directives):

#FIELDS=NAME,,,TIME,,FILTER,MAG,MAGERR
#DATE=HJD

source id,right ascension (RAJ2000),declination (DEJ2000),hjd,camera,filter,mag,mag err,flux (mJy),flux err
AP15396650,307.12314,56.76843,2457212.92928,bb,V,13.603,0.02199,13.884,0.281
AP15396650,307.12314,56.76843,2458067.7018,bb,V,13.706,0.02228,12.628,0.259
AP15396650,307.12314,56.76843,2457308.79347,bb,V,13.736,0.02239,12.285,0.253
AP15396650,307.12314,56.76843,2457175.98654,bb,V,13.702,0.02226,12.686,0.26
AP15396650,307.12314,56.76843,2457296.82537,bb,V,13.693,0.02223,12.788,0.262
<...>

After this modification, FlexibleTextFormat plugin reads them (see attached screenshot)

Best regards,

Max

TRE
TRE's picture
ASSA SN upload question

Trying to add or load an ASSASN .csv file to VSTAR. Loading with the ASSASN or file upload options produces this same error: No observations for the specified period.

I am not specifying a period, just uploading a file. There is no star name in the file.

What am I doing wrong? I don't find a good answer here in this discussion. . . . . Just figured it out:

Delete all the columns exept hjd and mag. It gets imported with filter unspecified, yellow dots.

Next, add it to V data from AAVSO. .That works, and I can see it if I specify "unspecified".

Next, attempt a phase plot of V and Unspecified all in one plot.

 

 

Ray

David Benn
David Benn's picture
ASAS-SN upload

Hi Ray

I am able to load it with Max's latest version of the plugin. It's not in the plugin manager yet but has to be copied to vstar_plugins directory.

Here's a screenshot of what I see:

David

TRE
TRE's picture
Plug it in

Can we just get it added to the plug-in manager? That might make things easy. If not, point me to Max's plug-in. I think I found the plug-ins directory:

I seem to have it in VStar now, but it still doesn't work: It did open a different window than you show on one one iteration, but never again. I have yet to get the parameter selection window. Did you need to edit the file with:

#FIELDS=NAME,,,TIME,,FILTER,MAG,MAGERR
#DATE=HJD
? I did that too and even deleted the file header row. It now loads data as unspecified. I don't have a NAME column.

Here is my vstar_plugins directory:

vstar_plugins rt$ ls -a

.

..

org.aavso.tools.vstar.external.plugin.APASSEpochPhotometryObservationSource.jar

org.aavso.tools.vstar.external.plugin.ASASObservationSource.jar

org.aavso.tools.vstar.external.plugin.AoVPeriodSearch.jar

org.aavso.tools.vstar.external.plugin.CatalinaSkySurveyObservationSource.jar

org.aavso.tools.vstar.external.plugin.CurrentModeANOVATool.jar

org.aavso.tools.vstar.external.plugin.DASCHObservationSource.jar

org.aavso.tools.vstar.external.plugin.FlexibleTextFileFormatObservationSource.jar

org.aavso.tools.vstar.external.plugin.FourierModelCreator.jar

org.aavso.tools.vstar.external.plugin.HipparcosObservationSource.jar

org.aavso.tools.vstar.external.plugin.JDToDateTool.jar

org.aavso.tools.vstar.external.plugin.KeplerFITSObservationSource.jar

org.aavso.tools.vstar.external.plugin.MeanTimeBetweenSelectionTool.jar

org.aavso.tools.vstar.external.plugin.NSVSObservationSource.jar

org.aavso.tools.vstar.external.plugin.ObserverListFilter.jar

org.aavso.tools.vstar.external.plugin.PeriodLuminosityDistanceCalculator.jar

org.aavso.tools.vstar.external.plugin.SuperWASPFITSObservationSource.jar

It shows up in the menue:

mpyat2
mpyat2's picture
ASAS-SN plugin

Hi,

It seems there is a mess about different plugins. 

David wrote about "org.aavso.tools.vstar.external.plugin.ASASSNObservationSource" plugin. It opens ASAS-SN light curves, yet not all formats that can be downloaded from ASAS-SN site. It opens files generated by SkyPatrol (https://asas-sn.osu.edu/) and precomputed light curves from ASAS-SN photometry database containing a single object only.

"org.aavso.tools.vstar.external.plugin.FlexibleTextFileFormatObservationSource.jar" is a "universal" plugin, it reads text files of different formats, the format must be specified at the beginning of a file by several directives (see plugin's documentation https://drive.google.com/open?id=1hCWKb4_rI5HfdADmFhb7imC39cIiRbJQ ). Using a combination of #FIELDS, #DATE, #DELIM (not needed for ',' delimiter), and #VELAFILTER (to filter off "99.99" values) one can mimic the behavior of dedicated ASAS-SN plugin. Yet you should edit a file inserting directives at the top.

If no filter specified, FlexibleTextFileFormatObservationSource loads data as "Unspecified".

You can explicitly specify filter (band) using #FILTER directive (see documentation by a link above):

#FILTER=ASAS-SN

A name of the filter must be known to VStar (there is a way to define a user filter, see the documentation (#DEFINESERIES directive)

Best regards,

Max

P.S. 

Fields specification "#FIELDS=NAME,,,TIME,,FILTER,MAG,MAGERR" related to other example. It is for a "multiobject" file that can be downloaded from ASAS-SN database of precompiled curves.

For a standard ASAS-SN file (NSVS 7232279 from ASSASN 101498.csv from Ray's message) the following specification should be used:

#FIELDS=TIME,,,MAG,MAGERR

Additionally, you may use directives fo specify JD flavour and filter:

#DATE=HJD
#FILTER=ASAS-SN
 

David Benn
David Benn's picture
Making in-development plugin access easier

I have an idea re: how to make plugins in-development or under-test more easily accessible. Will discuss with a number of people and get back to you.

David

TRE
TRE's picture
great

Great, hope it works. And Maksym woke me up to checking to make sure I understand the bandpass for the V filter that ASAS-SN used for this dataset.  Likely, VSTAR will not notice the difference between  ASAS V and AAVSO V. But have not gotten the ASAS upload to include the filter yet..

Have found a couple ways to load ASAS data added to AAVSO data. Have not found a way to do phase plot that combines both filter designtions. If doing a phase plot with similar filters worked, it would be messy, but maybe valid in this case because I am just looking for epoc and period with "similar" filters.

Ray

 

TRE
TRE's picture
Max's new Flexible Text

Max's new Flexible Text Format FIle Plugin works if the ASASSN .csv file is loaded to a text editor and massaged like so:

#NAME=NSVS 7232279
#DATE=HJD
#FILTER=V
#FIELDS=time,camera,filter,mag,mag err,flux (mJy),flux err
#hjd,camera,filter,mag,mag err,flux (mJy),flux err
2458068.01303,bc,V,12.176,0.02,51.705,0.951
2457705.92554,bc,V,11.897,0.02,66.875,1.23
2457002.0162,bc,V,11.969,0.02,62.586,1.152
2456960.97385,bc,V,12.033,0.02,59.005,1.086

Don't know why I don't get the mag error even though Show err bars is selected in VSTAR. Uncertainty is listed as 0 in the observations list. Maybe the #FIELDS= directive doesn't work like I think it should?

Can anyone point me to Max's latest version of the ASAS plugin? That seems to work for David and he gets the err bars. I think I could load it the same way as the Flexible Text Format plugin. Will I need to delete the old plugin: New Star from ASAS File... from the plugin directory?

Another Question:

I run VSTAR 2.20.0

The the ASAS data says HJD. My Data is uploaded in UTC. Your forum note from 12/18/2019 suggests that if I load the ASAS HJD data, then the UTC data, VSTAR converts the UTC data to HJD. In fact, a box pops ups to indicate that it has  converted UTC to HJD. Does VSTAR add the famous extra 34.184 seconds? Approximately how many seconds needed since 2456598?

Ray

 

 

David Benn
David Benn's picture
adding seconds

Hi Ray

Do you mean the addition of leap seconds or something else?

As you may recall from https://www.aavso.org/vstar-jd-hjd-conversion, the HJD conversion issue is non-trivial, depending upon how far down the rabbit hole you want to go. As mentioned in my last comment on that post, automatic HJD conversion will be removed in the next release (should be early May at latest) and further changes will be addressed in an optional plugin. 

David

mpyat2
mpyat2's picture
MagErr

Hi Ray,

'magerr' field specification must not have space. 'magerr' or 'MagErr' or 'MAGERR' are allowed, 'mag err' not.

So the following directive (no space in magerr) will work:

#FIELDS=time,camera,filter,mag,magerr,flux (mJy),flux err

Please note, '#FIELDS' directive recognises limited set of field specifications (see the documentation), unknown specifications (like 'flux (mJy)') are simply ignored.

Here is a link to the latest ASAS-SN plugin: https://drive.google.com/open?id=1LlCQgTYb-PXrO2xEej7SJrCT7z43OjYN

Regarding JD->HJD conversion: It's better to ask David for the details.

Best regards,

Max

TRE
TRE's picture
Thanks Max

Thanks Max

I did print and read the documentation, but not closely enough. Will try the Flexible Text plugin again, Then get the ASAS-SN going. Slowly making progress. . ..

Ray

Pages

Log in to post comments
AAVSO 49 Bay State Rd. Cambridge, MA 02138 aavso@aavso.org 617-354-0484