{% extends "base.html" %} {% block content %}

Help

cocat keeps catalogues of time intervals that you and your colleagues edit together, in the browser, in SciQLop and from Python.

Projects

Projects hold catalogues and their events, and can also hold the files of a SciQLop workspace (see Files of a SciQLop workspace). Everyone in a project sees and can work on everything in it, with the role you give them. An event can belong to several catalogues of the same project. The project's History covers its catalogues; each file has its own history (see Files of a SciQLop workspace).

Your account starts with a project called “My catalogues”. It is private until you share it. Signing in opens it.

The project's name at the top of the catalogues is a menu. It lists your projects: pick one to switch to it. It also creates, renames, leaves and deletes projects, and opens your groups.

To share only some catalogues, or catalogues without their notebooks, create a project for them with New project, and share that one.

Only the server API, the websocket path and the command-line tool still call a project a “room”.

Files of a SciQLop workspace

A project can hold the files of a SciQLop workspace beside its catalogues: its notebooks, scripts, notes and figures. You edit them in SciQLop, together; the web app shows them. Any project gets its files when you share one from SciQLop into it, or when an editor uploads some. Everyone in the project sees its files: to keep notebooks to fewer people, put them in a project of their own.

The files are listed under the catalogues, on the left, in their folders, with their size and who changed them last. Open one to see it:

What you see is live: when someone edits a notebook in SciQLop, the page changes as they type. Nothing a notebook holds can run in your browser: web pages a notebook made show in a closed box, and its scripts never run.

File history, next to a file's name, lists its versions. Pick one to see the file as it was. Editors can Restore it: the file goes back to that version for everyone, and the version it replaces stays in the history.

To upload from the web, use the + next to Files: Upload files… or Upload a folder…; or drop files on Files. Editors see Files in every project, even one without files yet. Notebooks and text files become files people edit together in SciQLop; other files are stored as they are. Uploading a file to a path that already has one replaces it, and the old version stays in its history. The page then lists what it skipped and why: left out by the sharing rules (data files, caches, version control), or too big to share.

Data files, such as CDF or HDF5, are not shared by default: everyone fetches data for themselves. A file that cannot be fetched again, such as a calibration table, can be shared on purpose from SciQLop.

Catalogues and events

A catalogue is a named list of events. A project's catalogues are listed on the left; pick one to see its events on a timeline and in a table.

An event is a time interval. It has:

Pick a row to open the event. Editors change it there. Its Listed in part shows its catalogues, and adds it to another one.

To rename or delete a catalogue, use the ⋯ next to its name in the list, or right-click it. Deleting an event or a catalogue moves it to the Trash, at the bottom of the catalogue list; a deleted catalogue's events stay in the project. From there, Restore puts it back. Delete for good removes it, and cannot be undone.

“My catalogues” can also show a catalogue of another of your projects, as a bookmark. Open My catalogues, press the + next to Catalogues, then Link a catalogue from another project…. Links go into My catalogues only: to show a catalogue in a shared project, share its project or copy the catalogue. The link appears under Linked, with the project it comes from. Nothing is copied: opening the link opens the original, live, and changes go to the original project. You can do there what your role there allows. If you leave that project, or its catalogue is deleted, the link says No longer available; its ⋯ removes it. A smart catalogue cannot use a linked catalogue in its rule yet.

Statistics

While no event is open, the panel on the right sums up the events the table shows: after the filter and the period picked on the timeline.

More statistics opens the other sections. The page remembers which ones you keep open, in this browser.

Import and export

A catalogue can leave the project as a file, and a file can bring catalogues in.

To export one catalogue, open it and use More → Export…. Pick a format:

Event shapes and their axis travel in VOTable, tscat JSON and TFCat, and come back as they were. TFCat only knows shapes in frequency, wavelength, energy or wavenumber: for another quantity, such as pitch angle, the file is still written but is not strict TFCat, and the page says so.

A smart catalogue is saved with the events it holds now, without its rule.

To export several catalogues in one VOTable or tscat JSON file, use Export catalogues… in the project menu and tick the ones you want. TFCat makes one file per catalogue.

To import a file, use Import… in the project menu or the + above the catalogues, or drop the file on the events. It takes a VOTable, a tscat JSON file or a TFCat file. The page reads it first and says what it will do, for example "Adds 2 catalogues and 300 events, updates 5 events (same ids)". Nothing changes until you press Import.

Readers can export. Only editors can import.

Searching

The box above the events searches as you type. On a catalogue, Search in under the box says what it does:

Each side keeps its own text. To search the whole project without touching a catalogue, open All events at the top of the catalogue list. Plain words find events whose tags, status, author or attributes contain them, or whose start time begins with them.

The box suggests as you type: field names, then the project's own tags, statuses, authors, catalogues and attributes. Arrow keys pick a suggestion, Enter or Tab takes it. Each term shows as a coloured token; a field the search does not know shows in red.

Name a field to be precise. A space between two terms means both; OR, NOT and parentheses work as in a library search.

tag:shocktagged “shock”
confidence:>=0.8confidence 0.8 or more (also >, <, <=)
status:reviewedwith that status
author:aliceauthor contains “alice”; author:=alice@lab.fr for exactly that
start:2015, start:2015-03starts during that year or month
start:[2015-01-01 TO 2016-06-30]starts between two dates; * leaves one end open
created:now-7dadded in the last 7 days (units s, m, h, d, M, y)
duration:>10minlasts more than 10 minutes (s, min, h, d)
#density:>10an attribute, by its name after #
catalogue:"Bow shocks"listed in that catalogue
_exists_:shapehas a time–frequency shape; NOT _exists_:author has no author

The button at the right of the box, Build a search, writes a search for you from rows of field, test and value.

A search can also become a catalogue of its own: press Save as new smart catalogue… and name it. It keeps what the table shows: a filter keeps the events of the catalogue that match, a search of all events keeps every event that matches. The + next to Catalogues also offers ready-made ones: recently added, mine, not reviewed yet, low confidence, with a shape.

A search with now in it is checked again whenever the project changes, not on a timer: “added in the last 7 days” drops an old event at the next edit.

Smart catalogues

A smart catalogue has a rule. The rule picks events from the whole project. Its list updates by itself while people edit. You can still add events to it by hand.

The easiest way to make one is to search and save the search. For rules a search cannot say (joining, shifting or comparing sets of intervals), open a catalogue and use More → Add a rule…. The editor starts with an example to change. The catalogue keeps the events it lists and adds the ones the rule picks. On a smart catalogue, Edit rule changes the rule. Before you save, the editor says in words what the rule picks, or what is wrong with it. Python and a tscat dynamic catalogue import make smart catalogues too.

A rule is written in JSON. A few examples:

{% for (what, rule) in rules %}
{{ what }}
{{ rule }}
{% endfor %}

A rule can test start, stop, tags, status, confidence, author, products, and any attribute as #name. Write times like 2020-01-01T00:00:00Z. Gaps are in seconds.

Some rules make new intervals, like the last example. Those intervals are read-only. To keep what a smart catalogue holds today, use More → Freeze…. It makes a normal catalogue holding the events the rule picks now. Joined intervals become events you can edit. The smart catalogue stays as it is.

A copied catalogue says where it came from, under its name: “Copied from Lab › Bow shocks, 2026-11-10”. Point at that line to see the full chain of copies it descends from, oldest first.

History

The server keeps every version of a project. In the catalogue browser, press History to see them, newest first.

A version is a run of changes by one person. A new version starts when:

Save version ends the current version on purpose. Give it a name, like “paper v1”, and a note that says why, like “as submitted”. Saved versions carry a mark in the list. Name this version names any version later.

Pick a version to see what it changed: the events it added, changed and removed.

Restore this version makes the project as it was then. Opened from a catalogue, the history shows that catalogue only, and a restore brings back only that catalogue. Nothing is lost. Events made since then go to the trash. The restore is a new version, so you can undo it by restoring the version before it.

To try something without touching the project, press Make a copy from this version. You get a new project of your own that starts as that version, with all its catalogues and events. Change it as you like: the original and its history stay as they were. Anyone in the project can make a copy, viewers too. A copy takes the whole project, even when you opened the history from one catalogue, and it counts in your own storage.

Sharing

The Share button at the top shows who is in the project. The owner and the editors share the project from there, in three ways:

Revoke stops a link or an invitation at once, whoever made it.

The same people change each member's role and remove members there. Nobody can change the owner's role or remove the owner.

The owner can keep this to themselves: untick Editors can change access and share in Share. Editors then see the lists without the controls, like viewers. Viewers never change who is in the project.

Any member can Leave a project from the project menu. The owner cannot leave: they transfer ownership first. Transfer ownership…, at the bottom of Share, hands the project to another member, and the old owner stays as an editor. Only the owner can do that.

Groups

A group is a set of people you share many projects with. Open Groups… in the project menu, create one there, then invite people with a share link or by email.

In Share, whoever shares the project adds a group they belong to, as editor or viewer. Everyone in the group gets the project, including people who join the group later. Someone who reaches a project both directly and through a group gets the higher of the two roles.

The group's owner invites and removes members, renames it and deletes it. Members can leave.

Public catalogues

Public catalogues are shared with everyone who has an account here. Open Public catalogues, on the left, under the catalogues (or at the top of the project menu). They are a place of their own, apart from your projects: the folders on the left, such as “AMDA / Solar wind”, sort them, with All at the top. Pick a folder to list its catalogues; the search box finds one by its name or its description, in that folder or, under All, everywhere. Pick a catalogue to open it; the folders stay on the left, so you can go from one to the next. To go back to a project, pick it in the menu at the top.

Each public catalogue is a project of its own, with one catalogue in it. You read it like any project: its events, its statistics, its history. You cannot change it. To use it in your own work, choose Copy to a project… on the catalogue, or next to it in the list: the catalogue and its events go into one of your projects, or a new one, under the same name. Change the copy as you like; the public catalogue stays as it is.

Catalogues that follow a source

Some public catalogues follow a list published elsewhere: NASA's DONKI space weather database (flares, CMEs, solar energetic particles, shocks, storms…), the CDAW SOHO/LASCO CME catalogue and Wind/STEREO WAVES type II bursts, AMDA's shared lists, the HELIO4CAST ICME catalogue (ICMECAT, one catalogue per spacecraft), Solar Orbiter's STIX flare list and the SIDC's automatic CACTus CME detections. Each has its folder, named after its source. The server reads the source again on a schedule, and the catalogue then holds exactly what the source says: new events appear, corrected ones change, removed ones go to the trash. Each refresh that changes something is a version in its History.

Such a catalogue says where it comes from, under its name and in the list: “From DONKI (NASA CCMC), refreshed 2026-11-11”, with a link to the source. The source is the truth, so nobody changes it here, curators included, and there is nothing to propose: copy it into a project to work on it. A list its source stopped publishing stays as it was, marked “No longer published by” its source.

Curators keep the public catalogues: they add, change and delete them. Every administrator is a curator, and an administrator can make anyone a curator.

Nobody owns, joins or shares a public catalogue, so it has no Share button.

Adding yours

To offer one of your catalogues, open it and choose More › Submit to Public catalogues…, above its events. Give it a title, a folder and a description, and a note for the curators if you like. The curators get the catalogue and its events as they are when you submit; what you change afterwards stays in your project (submit again to send it).

To improve a public catalogue, open it and choose Propose a change…. It is copied into one of your projects, or a new one. Change it there, then choose More › Submit as an update… above the copy's events, with a note saying what you changed.

My submissions, on the left of the public catalogues, shows each one you sent: waiting, accepted or declined, with the curator's note. You can Withdraw one while it waits.

What curators do

Curators see how many submissions are waiting next to Public catalogues on the left, and the list under Submissions, on the left of the public catalogues. Each one shows What changed: for a new catalogue, its events; for an update, the events it adds, changes (old → new) and removes, compared with the public catalogue as it is now. When the public catalogue changed after the copy was made, the page says so. Accept puts it in the public catalogues, under the author's name, as a saved version called “Submission” and its number. Decline sends it back with your note.

SciQLop and Python list them too: in Python, public_catalogues, copy_public_catalogue to copy one, and submit_catalogue or propose_change and submit_update to submit.

Selection rounds

In a round, several people propose or review time intervals, then a decider keeps one final catalogue. Open Rounds in a project to see yours. The list puts first the rounds that need you, and each says what your part is.

Owners and editors start a round with New round on the Rounds page. Pick what you want to do, Review detections, Selective downlink or Labelling, and the form fills in the usual settings. You then add a name, an optional deadline and, for a downlink, the budget, and you can change the people: who proposes, who reviews or votes, and who decides. To review a catalogue, choose one you can read, or import a file into the project first.

There are three kinds of round:

A round is blind or open. In a blind round, a reviewer (a voter, in the other kinds) sees only their own verdicts. The deciders and the owners of the project see everyone's, until the round is decided. In an open round, everyone in the round sees them all.

A round may have a budget: a cap on what the chosen intervals cost, for example the data volume to download. The page shows the cost of the final catalogue and turns red when it is over the cap.

A verdict is accept, reject or unsure. An event with no verdict is not reviewed yet. When a round goes back to proposing, it starts a new revision and the earlier verdicts no longer count.

The decider moves the round to decided and gives the final catalogue. The catalogue then says which round decided it. Everything a round does on this page, SciQLop and Python do too.

Roles

Viewer
Sees the catalogues, the events, the members and the history, and can make a copy of any version for themselves. Changes nothing in the project.
Editor
Also adds, changes and deletes events and catalogues, edits rules, saves, names and restores versions, and renames the project. Unless the owner said no, an editor also shares the project: invites people, changes roles, removes members and adds groups.
Owner
Can do all of that, always. Only the owner deletes the project, transfers ownership and decides whether editors can share. A project has one owner.

Nobody can give themselves a higher role. Anyone but the owner can leave.

Deleting a project deletes its catalogues and its history for everyone.

Who is here

In the catalogue browser, the round badges at the top are the other people in the project right now. Hover one to see who it is.

When someone edits an event, its row shows in their colour. Changes reach everyone at once. Live, at the top right, says your changes are reaching the server.

SciQLop and Python

This server's address is {{ server_url }}.

SciQLop: in the cocat plugin's settings, enter that address, then sign in with your email and password. Your projects appear there. Edits show up here live, and the other way round.

Python, with the cocat_rs package. Python calls Save version commit.

import cocat_rs

url = "{{ server_url }}"
cookie = cocat_rs.login(url, "you@example.org", "your password")
for info in cocat_rs.projects(url, cookie):
    print(info.id, info.name, info.role)

project = cocat_rs.Project.open("cocat-cache", info.id)
project.connect(url, cookie)
project.wait_synced(10)
for catalogue in project.catalogues():
    print(catalogue.name, len(catalogue.events))

project.save()
cocat_rs.commit(url, cookie, info.id, name="paper v1", message="as submitted")

Your account

Signed-in apps

Python and SciQLop sign in with a link: they show it, you open it here, check that the code matches the one they show, and allow it. The app then stays signed in on that machine, without your password. The Account page lists these apps. Revoke one you no longer use, or one on a machine you lost: it stops working at once. An app unused for six months is signed out by itself. Changing your password keeps them signed in; resetting it with "Forgot password" signs every app out, in case someone else had your account.

{% endblock %}