Affiliation
Svensk Amator Astronomisk Forening, variabelsektionen (Sweden) (SAAF)
Mon, 12/11/2017 - 22:02

I am interested in analysing data from ASAS-SN but have not been able to import data to Vstar. Any ideas?

/Gustav

Affiliation
American Association of Variable Star Observers (AAVSO)
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.

Affiliation
American Association of Variable Star Observers (AAVSO)
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?

Affiliation
American Association of Variable Star Observers (AAVSO)
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

Affiliation
American Association of Variable Star Observers (AAVSO)
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!

 

Affiliation
American Association of Variable Star Observers (AAVSO)
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

 

Affiliation
Astronomical Society of South Australia (ASSAU)
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

Affiliation
American Association of Variable Star Observers (AAVSO)
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.

Affiliation
Astronomical Society of South Australia (ASSAU)
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

Affiliation
American Association of Variable Star Observers (AAVSO)
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

Affiliation
American Association of Variable Star Observers (AAVSO)
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

File upload
Affiliation
American Association of Variable Star Observers (AAVSO)
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

Affiliation
Astronomical Society of South Australia (ASSAU)
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

Affiliation
American Association of Variable Star Observers (AAVSO)
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:

Affiliation
American Association of Variable Star Observers (AAVSO)
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
 

Affiliation
Astronomical Society of South Australia (ASSAU)
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

Affiliation
American Association of Variable Star Observers (AAVSO)
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

 

Affiliation
American Association of Variable Star Observers (AAVSO)
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

 

 

Affiliation
Astronomical Society of South Australia (ASSAU)
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

Affiliation
American Association of Variable Star Observers (AAVSO)
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

Affiliation
American Association of Variable Star Observers (AAVSO)
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

Affiliation
American Association of Variable Star Observers (AAVSO)
This thread is quite stale…

This thread is quite stale with the last response being in 2020.  However, I'm still having the same problem as others with "No Observations" when I try to load an ASA-SN CSV file.  This files are formatted as:

hjd,camera,mag,mag_err,flux,flux_err
2457410.77393,bc,8.827,0.02,1130.51,20.801
2457010.92434,bc,9.196,0.02,804.704,14.807
2457711.0853,bc,10.662,0.02,208.571,3.838
2457419.82388,bc,8.923,0.02,1034.33,19.032
2458195.76888,bc,9.475,0.02,622.097,11.447
2457609.12702,bc,11.644,0.02,84.357,1.552
2457414.85328,bc,8.844,0.02,1112.584,20.472
2458126.97296,bc,11.0,0.02,152.717,2.81
2457307.98538,bc,10.35,0.02,277.824,5.112
2457798.88718,bc,9.179,0.02,817.398,15.04
2457794.88635,bc,9.385,0.02,675.826,12.435
2457069.82079,bc,9.461,0.02,630.407,11.599
...

 

I have downloaded from the different entry points (Sky Patrol, Photometry Database, Variable Star Database) ut the result is always the same - "No Observations"

I used the "ASAS-SN CSV file reader" plugin that is automatically installed by the Plug-in Manager.  I assume that is up to date?

 

 

Affiliation
American Association of Variable Star Observers (AAVSO)
I cloned the GitHub project…

I cloned the GitHub project to see if there had been changes in the plugin.  I found this in the opening comments:

/**
 *
 * ASAS-SN file observation source plug-in for CSV observation files obtained
 * from https://asas-sn.osu.edu
 *
 *
 * This plug-in reads CSV files in this format:
 *
 * HJD,UT Date,Camera,FWHM,Limit,mag,mag_err,flux(mJy),flux_err[,Filter]
 * 2458000.47009,2017-09-03.9710173,be,1.77,15.518,14.839,0.117,4.448,0.477[,V]
 * 2458000.47137,2017-09-03.9722892,be,1.76,15.730,14.760,0.090,4.789,0.392[,V]
 * 2458000.47263,2017-09-03.9735547,be,1.72,15.751,14.759,0.088,4.788,0.385[,V]
 * 2458002.51020,2017-09-06.0112978,be,2.03,14.814,>14.814,99.990,4.020,0.911[,V]
 * 2458002.51147,2017-09-06.0125694,be,2.03,14.729,>14.729,99.990,3.640,0.985[,V]
 * ...
 * 
 * New format ASAS-SN Phometry Database added by PMAK (updated 2023-01-11 to reflect ASAS-SN portal changes):
 * 
 * hjd,camera,mag,mag_err,flux,flux_err
 * 2457981.84031,bc,11.221,0.02,124.549,2.292
 * 2457478.08718,bc,11.167,0.02,130.945,2.409
 * 2456897.81061,bc,11.227,0.02,123.962,2.281
 * 2458372.79859,bc,11.252,0.02,121.073,2.228
 * 2457065.13389,bc,11.411,0.02,104.597,1.925
 * 2457303.71059,bc,11.452,0.02,100.68,1.853
 * ...
 */


So it does seem there has been a change in the export format that corresponds to what I see.  PMAK has supposedly fixed the code for the new format but I'm unclear how to build the plugin, or if there is a built .jar somewhere, how to get it.

I can build VStar itself, but this doesn't seem to build the external plugins.

Bill

Affiliation
American Association of Variable Star Observers (AAVSO)
ASAS-SN plig-in fix

Hi Bill,

I hope the new stable version of VStar will be released soon with all the plug-ins updated.

Currently, you can download the fixed version of the ASAS-SN plug-in from my Google Drive: 

https://drive.google.com/file/d/1Ls8t-d3eWD4Mqrdfpl1Z0JdnnkPznXto/view?usp=share_link

This is a JAR file; after downloading, please copy it over the existing org.aavso.tools.vstar.external.plugin.ASASSNObservationSource.jar. It is located in the "vstar_plugins" folder inside your home folder (under Windows, it is C:\Users\<your_name> ). Before copying, please exit VStar.

I tested the fixed plug-in with the data fragment from your message.

Cheers,

Max