JSON report format

The asteroid occultation report file
Format version 1

This is the report file Tangra writes when an asteroid occultation is reported. Any other program is welcome to write the same file, so that reports from all programs can be reviewed and archived in the same way. Markdown instructions for AI-assisted programming

The two sections

The file is one JSON object with two members:

{
  "reportData": { },
  "optionalData": { }
}
  • reportData is fixed and the same for every region. It holds everything the archive of asteroid occultation observations takes from a report. Fill it in completely, with the member names and the values listed below.
  • optionalData holds everything else: the program that wrote the file, the submission, and more details about the equipment, the timing and the light curve. It is open. Use the member names below when your program has the same information, and add members of your own as needed.

Values from a closed list are readable words, such as SCT and GpsTimeInserted. They are not the archive's one-letter codes, which are derived from them when the report is archived.

Examples

A positive observation with one event

{
  "reportData": {
    "formatVersion": 1,
    "result": "Positive",
    "event": {
      "date": "2026-08-19",
      "predictedTimeAtSiteUtc": "2026-08-19T10:27:31.000Z"
    },
    "asteroid": { "number": 60, "name": "Echo" },
    "star": { "catalogue": "UCAC4", "number": "361-172758" },
    "observers": { "names": ["Hanna Observer"], "moreThanListed": false },
    "site": {
      "location": "Dunedin, New Zealand",
      "longitude": 170.503611,
      "latitude": -45.874167,
      "altitudeMetres": 12,
      "datum": "WGS84"
    },
    "telescope": { "apertureCm": 20.3, "type": "SCT" },
    "timing": {
      "method": "VideoFrameAnalysis",
      "source": "GpsTimeInserted",
      "device": "IOTA-VTI"
    },
    "conditions": { "stability": "SlightFlickering", "transparency": "Clear" },
    "comments": "Star faint, 2x integration.",
    "events": [
      {
        "secondStar": false,
        "d": { "timeUtc": "2026-08-19T10:27:31.245Z", "errorSeconds": 0.04 },
        "r": { "timeUtc": "2026-08-19T10:27:35.805Z", "errorSeconds": 0.04 },
        "snr": 7.4
      }
    ]
  },
  "optionalData": {
    "generator": { "application": "Tangra", "version": "4.0.1", "addin": "TOTA" },
    "submission": {
      "region": "Australasia",
      "station": "Home",
      "stationNo": 2,
      "stationLongitude": 170.5036,
      "stationLatitude": -45.8742,
      "stationAltitudeM": 12,
      "email": "observer@example.com",
      "reviewerComments": "Second comparison star drifted out at the end."
    },
    "equipment": { "camera": "Watec 910HX", "cameraModelForDelays": "WAT-910HX (PAL)" },
    "timing": {
      "instrumentalDelays": "AppliedByTangra",
      "integratedFrames": 2,
      "exposureSeconds": 0.08,
      "videoSystem": "PAL",
      "videoFileFormat": "AAV",
      "embeddedTimestamps": true,
      "reliableTimeBase": true,
      "fittedInTime": false,
      "windowsClockTimestamps": null,
      "acquisitionDelayMs": null,
      "referenceTimeToUtcOffsetMs": null,
      "delaysEnteredAtReport": null,
      "timestampJitter3SigmaMs": null,
      "timestampJitterFrames": null
    },
    "lightCurve": {
      "file": "20260819_60_Echo_UCAC4_361-172758_+Observer.lc",
      "points": 2400,
      "framesFrom": 1200,
      "framesTo": 3599,
      "comparisonStars": 2
    },
    "recording": {
      "startUtc": "2026-08-19T10:25:02.000Z",
      "endUtc": "2026-08-19T10:30:41.000Z"
    },
    "prediction": {
      "source": "OccultWatcherCloudMyEvents",
      "owcEventId": "2116-60-253224-645784-U172758"
    },
    "analysis": {
      "userSelectedEvents": [],
      "acknowledgedMessages": [],
      "timingCorrections": null,
      "doubleStars": []
    }
  }
}

A negative observation (a miss)

All members are the same, except for these two in reportData:

"result": "Negative",
"events": []

General rules

  • Encoding: UTF-8, preferably without a byte order mark.
  • Member names are case-sensitive, in camelCase as shown. Write the values of the closed lists exactly as listed too.
  • Unknown values: write null or leave the member out. An empty text is "".
  • Times are UTC in ISO 8601 with a Z: "2026-08-19T10:27:31.245Z". The fraction may be left out and can have up to 7 digits. Always write the full date, also for analogue video whose timestamps only have the time of day: use the event's date, or the nearer day when the event is close to midnight.
  • Dates: "yyyy-MM-dd".
  • Numbers are JSON numbers with a decimal point, never strings.
  • Coordinates are decimal degrees, longitude positive to the east and latitude positive to the north. The altitude is in metres.
  • Reading: a reader ignores the members it doesn't know and treats a missing member as unknown. The order of the members doesn't matter.
  • Versions: a change to reportData raises formatVersion. Members can be added to optionalData without that.

reportData

MemberTypeRequiredMeaning
formatVersionintegeryes1
resultlistyesA positive or a negative observation
event.datedateyesThe UTC date of the predicted time at the site, or of the first D when that isn't known
event.predictedTimeAtSiteUtctime or nullrecommendedThe predicted time of the closest approach at the observer's site, not the geocentric time. null when the program can't work it out
asteroid.numberinteger or nullyesnull for an unnumbered asteroid
asteroid.nametextyesA name, or a provisional designation such as "1999 CO5"
star.cataloguetextyesThe star's catalogue
star.numbertextyesThe star's number in that catalogue, such as "361-172758"
observers.namesarray of textyes, at least oneThe names as entered. The first one is the reporting observer
observers.moreThanListedbooleanyesThere were more observers than listed ("et al.")
site.locationtextyesThe nearest location and, after the last comma, the state or country: "Dunedin, New Zealand"
site.longitude
site.latitude
numberyesDecimal degrees. A report without them can't be archived
site.altitudeMetresnumberyesThe altitude in metres
site.datumlistyesThe datum of the coordinates
telescope.apertureCmnumberyesThe aperture in centimetres
telescope.typelistyesThe type of telescope
timing.methodlistyesHow the times were measured
timing.sourcelistyesThe source of the time
timing.devicelistyesThe timing device
conditions.stabilitylist or nullrecommendedThe stability of the image
conditions.transparencylist or nullrecommendedThe transparency of the sky
commentstextyes, "" for noneThe comment archived with the observation. A note that is only for the reviewer goes in optionalData.submission.reviewerComments
eventsarrayyesAt least one event for a positive, [] for a miss

Each entry of events

An entry is one disappearance and reappearance. Most observations have one. A double star or a satellite of the asteroid gives more, each written as an entry of its own.

MemberTypeRequiredMeaning
secondStarbooleanyesThe event is of the second star of a double star
d.timeUtc
r.timeUtc
timeyesThe final D and R times, with all delays and corrections already applied. The time is the middle of the error interval
d.errorSeconds
r.errorSeconds
numberyesThe ± of the time in seconds: half the width of the error interval, at least 0.001
snrnumber or nullrecommendedThe signal to noise ratio of the event

Tangra always writes both D and R. A positive with only one of them, the other null, can be archived too. D and R must not be the same time.

Accepted values in reportData

result

ValueMeaning
PositiveAn occultation was observed
NegativeA miss: no occultation was observed

star.catalogue

Not a closed list: the name of the catalogue, such as UCAC4, TYC or HIP. Write Occult's 4UC as UCAC4. A star with a J (positional) designation, such as J171354.39-281225.8, is J-coords, and its number is the position without the J:

"star": { "catalogue": "J-coords", "number": "171354.39-281225.8" }

site.datum

ValueMeaning
WGS84World Geodetic System 1984 (GPS)
NAD1927North American Datum 1927
EP1950European Datum 1950
TokyoTokyo Datum
GBSN80Great Britain, Ordnance Survey 1980
OtherAny other datum

telescope.type

ValueMeaning
NewtonianNewtonian
SCTSchmidt-Cassegrain, including Cassegrain and Maksutov
RefractorRefractor
DobsonianDobsonian
BinocularsBinoculars
NoOpticalAidNo optical aid
OtherAny other type, to be given in the comments

timing.method

ValueMeaning
VideoFrameAnalysisVideo, or a sequence of images, analysed frame by frame. The only value in format version 1

timing.source

ValueMeaning
GpsTimeInsertedGPS, time inserted
GpsOtherLinkingGPS, other linking
VideoAudioTimeSignalVideo and an audio time signal
TapeRecorderTimeSignalTape recorder and a time signal
EyeEarTimeSignalEye-ear and a time signal
StopwatchStopwatch
RadioBroadcastRadio broadcast, calibrated
OtherAny other source

timing.device

The name as OccultWatcher lists it, with its spaces:

Value
Stopwatch
WWV Radio Time
Beeperbox
GPS
Computer NTP
KIWI-OSD
IOTA-VTI
GPS-ABC
ADVS
Cellphone
Other - Specify in Comments

conditions.stability

ValueMeaning
SteadySteady
SlightFlickeringSlight flickering
StrongFlickeringStrong flickering

conditions.transparency

ValueMeaning
ClearClear
FogFog
ThinCloudThin cloud < 2
ThickCloudThick cloud > 2
BrokenCloudBroken cloud
StarFaintStar faint
AvertedVisionAverted vision

optionalData

Every member is optional. These are the members Tangra writes. Please always write generator.application and generator.version, so that a reviewer knows which program made the report. Don't put a second copy of a reportData value here.

generator

MemberTypeMeaning
applicationtextThe program that wrote the file: "Tangra"
versiontextIts version: "4.0.1"
addintextThe add-in or module that wrote it: "TOTA"

submission

MemberTypeMeaning
regionlistThe region reported to
stationtextThe observer's station name. An observer with several stations reports each one separately
stationNointegerThe station's number on the OccultWatcher Cloud event, from 1. null when it wasn't announced
stationLongitude
stationLatitude
numberThe station's position as announced in OccultWatcher Cloud, in degrees
stationAltitudeMnumberIts announced altitude, in metres above mean sea level
emailtextThe observer's email
reviewerCommentstextA note for the reviewer, not archived. A line that starts with [TOTA] was added by Tangra

equipment

MemberTypeMeaning
cameralistThe camera as the observer lists it
cameraModelForDelaystextThe camera model whose instrumental delays were used

timing

MemberTypeMeaning
instrumentalDelayslistHow the times got their instrumental delays
integratedFramesintegerVideo frames per data point, for integrated analogue video
exposureSecondsnumberA data point's exposure, in seconds
videoSystemtextThe video system
videoFileFormattextThe video file's format
embeddedTimestampsbooleanThe frames have timestamps of their own, not read from an overlay
reliableTimeBasebooleanThe recording's time base is reliable: no discrepancy was found in its timestamps
fittedInTimebooleanThe fit was made in time rather than in frames
windowsClockTimestampsboolean or nulltrue for digital video whose timestamps need timing corrections, such as those the recording program takes from the Windows clock. null otherwise
acquisitionDelayMsnumberThe acquisition delay in milliseconds, already subtracted from the times. For a rolling shutter it can be the delay at the star's line, see rollingCorrections
referenceTimeToUtcOffsetMsnumberThe Windows Clock Correction or Reference Time Correction in milliseconds, already added to the times: positive when the clock was behind UTC
delaysEnteredAtReportboolean or nulltrue when those two were entered when reporting, as the light curve was measured without them. null otherwise
timestampJitter3SigmaMsnumberThe measured jitter of the timestamps at 3 sigma, in milliseconds
timestampJitterFramesintegerThe number of frames the jitter was measured from

The shutter's members are only written when they are known:

MemberTypeMeaning
shutterlistThe camera's shutter
rollingCorrectionslistHow a rolling shutter's corrections were given
totalTimingCorrectionMsnumberThe total timing correction as entered, in milliseconds
starLineintegerThe line (y) of the occulted star in the frame, from 0
frameHeightintegerThe height of the recorded frame, in lines
readoutTimeMsnumberThe frame's readout time, in milliseconds
readoutErrorMsnumberThe extra error from the readout time, in milliseconds, already combined with the D and R errors in quadrature
readoutCorrectionMsnumberThe readout correction in milliseconds, of either sign, already added to the times

lightCurve

A miss is sent without a light curve file: all of these are then null, except for comparisonStars.

MemberTypeMeaning
filetextThe name of the light curve file sent with the report
pointsintegerThe valid data points in it
framesFrom
framesTo
integerThe first and the last frame it was cut to. null when it is the whole light curve
comparisonStarsintegerThe number of comparison stars measured

recording

MemberTypeMeaning
startUtc
endUtc
timeWhen the recording starts and ends, to the second. null when the light curve has no times

prediction

MemberTypeMeaning
sourcelistWhere the event was identified from
owcEventIdtextThe OccultWatcher Cloud event's id, when the event came from there

analysis

MemberTypeMeaning
userSelectedEventsarray of integerThe events the observer pointed out on the chart, rather than found by the program: their places in reportData.events, from 1
acknowledgedMessagesarray of textThe warnings and other messages the observer confirmed before submitting
timingCorrectionsobject or nullThe observer's corrections, below. null for none
doubleStarsarraySee Double stars. [] for none

analysis.timingCorrections

The corrections entered when reporting. They are already in every time and error reported, and are kept here for information.

MemberTypeMeaning
offsetSecondsnumberAdded to every time: positive when the recorded times were early
offsetReasontextThe reason for it
extraErrorMsnumberThe extra error combined with each D and R error, in milliseconds
extraErrorReasontextThe reason for it
acquisitionDelayMs
referenceTimeToUtcOffsetMs
numberAs in timing, when they were entered when reporting
errorsCombinedlistHow the extra error was combined

Accepted values in optionalData

submission.region

ValueMeaning
AustralasiaAustralasia
EuropeEurope
NorthAmericaNorth America
OtherAfrica, Asia, South America, or no region chosen

equipment.camera

The names Tangra writes are OccultWatcher's list:

Value
VisualPhotometer
PC165-DNRPC164C
PC164C-EXWatec 120N
Watec 120N+Watec 910HX
Watec 910BDWatec 902H
Mintron 12v1C-EXMallincam
CCDSamsung SBC-2000
KPC-350BHLN-300-11673
Flea 3-03S1 with ADVSFlea 3-03S3 with ADVS
Flea 3-28S4M with ADVSGrasshopper Express with ADVS
G-StarOther - List in Comments

equipment.cameraModelForDelays

The camera models Tangra knows the instrumental delays of. It can also be the name the video file gives its camera.

Value
WAT-910HX (PAL)WAT-910HX (NTSC)
WAT-910BD (PAL)WAT-910BD (NTSC)
WAT-120N (PAL)WAT-120N (NTSC)
WAT-120N+ (PAL)WAT-120N+ (NTSC)
Mintron 12V1C-EX (PAL)Mintron 12V1C-EX (NTSC)
PC165DNR (NTSC)SCB-2000N (NTSC)
WAT-902H2 (PAL or NTSC)PC164C-EX2 (EIA)
SK-1004XC/SO CCIR

timing.instrumentalDelays

ValueMeaning
AppliedByTangraThe program applied the camera's instrumental delay to the times
AppliedToLightCurveThe light curve's times already had it
AcquisitionDelayAppliedThe acquisition delay of a digital camera was applied
NotRequiredThe times need no correction
NotAppliedThe times need a correction that wasn't applied
UnknownThe light curve doesn't tell

timing.videoSystem

ValueMeaning
PAL25 frames per second (PAL, CCIR)
NTSC29.97 frames per second (NTSC, EIA)
DigitalDigital video

An AAV file gives its own native video standard, which is written as it is.

timing.videoFileFormat

Not a closed list: the extension of the video file in upper case, such as AVI, AAV, ADV, SER or RAVF.

timing.shutter

ValueMeaning
GlobalGlobal shutter
RollingRolling shutter

timing.rollingCorrections

ValueMeaning
TotalTimingCorrectionOne correction, at the star's line, that includes everything. It is in totalTimingCorrectionMs and acquisitionDelayMs
FrameCenterThe acquisition delay measured at the frame's center line. The readout time makes an extra error at the star's line
ReadoutCorrectionUTC timestamps, with a readout correction added to the times or the frame's readout time as an extra error
CombinedLineDelayThe acquisition delay at the star's line

prediction.source

ValueMeaning
OccultWatcherCloudMyEventsThe observer's events in OccultWatcher Cloud
OccultWatcherCloudSearchA search in OccultWatcher Cloud
OccultLocalA prediction from Occult on the observer's computer
PastedOccelmnts pasted by the observer

analysis.timingCorrections.errorsCombined

ValueMeaning
quadratureEach error reported is √(error² + extra error²)

Double stars

A double star is reported as two entries of reportData.events, the second star's with "secondStar": true. How they were found is in optionalData.analysis.doubleStars, with one entry for each double star. A (Star 1 in Tangra) is the star that goes first, and B (Star 2) the other one. A value that isn't known is null.

MemberTypeMeaning
eventA
eventB
integerThe stars' events: their places in reportData.events, from 1
arrangementlistThe order of the stars' disappearances and reappearances
lightA
lightB
numberEach star's share of the two stars' light, 0 to 1
deltaMagnitudenumberB's magnitude less A's
lightBAtD
lightBAtR
numberB's share of the light as the level on the D side and on the R side gives it
dropA
dropB
numberEach star's drop as a share of the full light
measuredDrop
predictedDrop
numberThe whole drop, measured and predicted, as a share of the full light
orderingAmbiguousbooleanABAB and ABBA fit alike: which star is back first can't be told
foundBylistWho found the double star
edgeslistHow D and R were modelled
starBobject or nullThe second star's test, below. null when it wasn't finished
hintsobjectThe two stars' magnitudes, below. Only written when there are any

starB

MemberTypeMeaning
pValuenumberThe chance that noise makes a second star that fits as well
pValueIsBoundbooleanNo trial came up to it: the p-value is an upper limit
trialsintegerThe number of trials
verdictlistThe verdict of the test
slowEdgeFitsAsWellbooleanA single star with slow edges fits nearly as well
stepElsewherebooleanOne of B's steps often comes out elsewhere when refitted on simulated light curves
dSpreadPoints
rSpreadPoints
numberThe spread of B's D and R in those refits, in data points (half the range of the middle 68%)
dElsewhere
rElsewhere
numberThe share of the refits that are 3 data points or more away
doubtfultextWhy the verdict is Doubtful, in words
fullDisappearancePValuenumberThe p-value of the full disappearance test, when it was run
liftedByFullDisappearancebooleanThat test changed the verdict from Fail to Possible
znumberFor AABB only: the significance of the other dip. There are no trials and no p-value then

hints

Here A is the brighter star and B the fainter one, whichever goes first.

MemberTypeMeaning
brighterEvent
fainterEvent
integerThe stars' events: their places in reportData.events, from 1
magnitudesarrayOne entry per band
magnitudes[].bandlistThe band
magnitudes[].magA
magnitudes[].magB
numberThe two stars' magnitudes from their drops
magnitudes[].magAError
magnitudes[].magBError
numberTheir errors, when known
magnitudes[].magTogethernumberThe magnitude of the two stars together
magnitudes[].catalogueMagnumberThe star's magnitude in the prediction, to compare with

Accepted values for double stars

arrangement

ValueIn TangraMeaning
ABAB1-2-1-2A goes, B goes, A is back, B is back
ABBA1-2-2-1A goes, B goes, B is back, A is back
AB-together-at-D(1+2)-2-1Both go together, then B is back, then A
AB-together-at-R1-2-(1+2)A goes, B goes, both are back together
AABB1-1 2-2A wide double star: A goes and is back, then B goes and is back

foundBy

ValueMeaning
TOTAThe program's own suggestion
UserArrangementThe observer chose the arrangement
UserBottomThe observer marked where both stars are covered
UserAssistedThe observer chose the arrangement and marked its steps and levels

edges

ValueMeaning
InstantInstant steps
PhysicalThe geometric edges of the physical model, with diffraction

starB.verdict

ValueMeaning
Probablep < 0.01. For AABB: the two depths add up to the full light
Possiblep < 0.10, or lowered from Probable by slowEdgeFitsAsWell or stepElsewhere. For AABB: the other dip passes Tangra's tests
DoubtfulA check found that the second star may be something else. doubtful says what
FailThe test doesn't support a second star

hints.magnitudes[].band

ValueMeaning
VVisual magnitude
RRed magnitude