Skip to content

Data storage and access

TL;DR

To access images of light curves, go to https://photo.ocadb.space/, default password.

To access the processed data of your target from CAMK, log in to vela and type:

cd /work/vela/oca/fits/[telescope]/processed-ofp/targets/[target]/[filter]/light-curve/
where [telescope], [target], and [filter] are the telescope, target, and filter of your choice, respectively. The file with suffix diff_light_curve.txt has differential photometry to create the light curve. The file with suffix diff_light_curve_chart.png is a plot of this light curve.

To list reduced FITS files, log in to vela and type:

fitscollectparquet -o [name of your target] | sort | fitscollectlist -n

Note

Data produced by the new generation telescopes at OCM are stored since 2023-02-24 (OCM Julian Date 0000). For earlier data ask mkicia.

apus decomissioned

The old apus server has been decommissioned. All CAMK data is now stored on the vela server.

Scripts to find your data

On vela server at CAMK you have access to very useful scripts to help you list your data: reduced and raw (with calibration files that should be used to make your own reductions).

fitscollectparquet

Run fitscollectparquet with options to filter out your observations:

-o object name
-t telescope name
-f filter name
--pi PI name
--sciprog science program name
-d date of observations, can be a single night of a range, e.g. -d 2025-12-01 2025-12-31
-N OCM night, i.e. name of directory where the data is stored for a given night, e.g. -N 1075, cannot have range, but can write as many nights as you want, e.g. -N 1075 1082 1111
-Z exclude ZDF files
-r include raw files
--max-airmass maximum allowed airmass
--max-fwhm maximum allowed FWHM (mean of x/y)

Examples:

  • Search for object SS_For and filter by FWHM and airmass
    fitscollectparquet -o SS_For --max-fwhm 3.0 --max-airmass 1.5
    
  • Search for objects NGC1097 and NGC2835 and list their raw files only (no ZDF's)
    fitscollectparquet -rZ -o NGC1097 -o NGC2835
    

Run fitscollectparquet --help to see all options.

fitscollectcalib

Run fitscollectcalib to add calibration files to a list of OCM FITS files from fitscollectparquet. Some options:

-R include all raw calibration files (implies --raw-zero, --raw-dark, --raw-flat)
-M include master calibration files (implies --master-zero, --master-dark, --master-flat)
-d skip duplicates (e.g. flat images used for science images from 3 nights, because no new flat were collected due to bad weather)

Examples:

  • Search for raw files of NGC300 in the V filter and add master calibration files
    fitscollectparquet -rZ -o ngc300-center -f V | fitscollectcalib --master-calib
    
  • Search for raw files of SS For and add all raw calibration files and skip duplicates
    fitscollectparquet -rZ -o SS_For | fitscollectcalib -Rd
    

Run fitscollectcalib --help to see all options.

fitscollectlist

Run fitscollectlist to display headers of the list of FITS files as table. Columns of the table are: PATH, IMAGETYP, EXPTIME, T-CAM (camera temperature), FILTER, SCIPROG, PI, DATE-OBS, OBJECT. Often comes after sort. Options:

-n print filenames only, not full paths

Examples:

  • Search for reduced files of NGC300 in the V filter, sort by date, and list in a table
    fitscollectparquet -o ngc300-center -f V | sort | fitscollectlist -n
    
  • Search for raw data only of targets collected during OCM night 1111 with jk15 telescope, find raw calibration files, skip duplicates, sort from the oldest to most recent, and display as a table
    fitscollectparquet -N 1111 -t jk15 | fitscollectcalib -Rd | sort | fitscollectlist -n
    

Run fitscollectlist --help to see all options.

Structure

Data are stored in 2 locations: at OCM and in CAMK. In order to access them at OCM, open the terminal and type:

cd /data/fits/

In order to access the data from CAMK (vela server), first log in to vela, and then type:

cd /work/vela/oca/fits/

The following sections and subsections reflect the structure of directories, while the items in each subsection describe names and content of files in each directory. This structure is the same for OCM and CAMK. For easy access to any element of this document, use the right sidebar menu.

The structure described below applies to all telescopes: iris, jk15, wk06, zb08, but for simplicity it is presented on the example of zb08.

Note on directory naming: On CAMK (vela server), night directories use the OCM Julian Date format (4-digit numbers, e.g. 0621, 1075). At OCM, both 4-digit machine-friendly names and human-friendly dates (yyyy_mm_dd) are available, with the latter being symlinks to the former.

{telescope}/                          # e.g. wk06, zb08, jk15, iris
├── raw/
│   ├── 0621/                         # 4-digit OCM Julian Date or yyyy_mm_dd (symlink)
│   └── 2024_11_06                    # (symlinks to OCM nights)
└── processed-ofp/
    ├── zeros/
    │   └── zb08c_0614_85802/
    ├── darks/
    │   └── zb08c_0600_70164/
    ├── flats/
    │   └── V/
    │       └── zb08c_0613_89705/
    ├── science/
    │   ├── 0614/
    │   └── zb08c_0614_85515/
    ├── standards/
    ├── targets/
    │   └── aa_aql/
    └── thumbnails/

zb08/ (and other telescopes: wk06, jk15, iris)

At OCM, you access the telescope directory with:

cd /data/fits/zb08/

At CAMK (vela server), you access it with:

cd /work/vela/oca/fits/zb08/

From here there are 2 main subdirectories: "raw" and "processed-ofp".

raw/

You're in the directory containing raw FITS files from observations. List all directories by typing:

ls -l

The human-friendly format, yyyy_mm_dd, is a date that marks the beginning of the observing night, so even is the observations started after midnight, they will still be stored in the directory whose name marks the beginning of the observing night.

The machine-friendly format uses the OCM Julian Date format, which is a 4-digit number representing days since 2023-02-24 (reference date 0000, because it was Julian Date 2460000). So, the directory named 0621 corresponds to approximately November 6, 2024, exactly as its human-friendly symlink 2024_11_06.

Another feature of the machine-friendly format is that it marks – more or less – the number of days that passed since we started collecting data at OCM on 2023-02-24, so the directory 0001 would mean February 24, 2023.

0621

You're in the directory with raw FITS files taken during the entire night: bias, dark, flat, science, standards, focus, test exposures, and mistaken exposures. In other words, everything that was recorded by the observers – good or bad – is stored here. The content of this folder and this folder as a whole, and similar folders in the "raw" directory cannot be deleted, changed, nor overwritten. If you want to manipulate any of the data in this directory, copy it to your home folder. But you probably don't need to use the raw data anyway, because all the processed FITS files are here.

Every raw FITS file is named according to this convention:

telescope name followed by the first letter of the instrument + 4-digit OCM Julian Date (same as the directory name) + 5-digit fractional part (seconds within the day * 100)

and separated by underscores. For example, zb08c_0621_46308.fits informs you that:

  • the image was taken by zb08 telescope, equipped with a camera (or ccd)
  • the image was taken on OCM Julian Date 0621, which corresponds to approximately November 6, 2024
  • the 46308 is the fractional part indicating the time within that night

2024_11_06

The content of this directory is exactly the same as the directory 0621 because it is a symlink (symbolic link). To read about the content of this directory, go here.

processed-ofp/

This directory contains 10 subdirectories: darks, flats, fringing, guiding, science, shutter, standards, targets, thumbnails, zeros, each with its own respective treasures. They are all here because have been treated by a suite of automated data processing services named OFP (OCM Fits Processor).

zeros

This directory contains all the master bias (zero) calibration files. There are as many directories as there have been nights when zero calibration files (biases) were taken. Let's look into the content of one of them.

zb08c_0614_85802

This directory contains:

  • the master zero FITS file zb08c_0614_85802_master_z.fits
  • symlinks to zero FITS files that were used to construct the master zero file

The name of this directory is the same as the core name of the master zero FITS file inside this folder. The rest of the master zero's name is "_master_z.fits", "z" coming from the word zero. The core name of the master zero file comes from the name of the last zero file in the set of zeros taken that night that were stacked to create the master file, i.e. zb08c_0614_85802.fits from the "raw" directory.

darks

This directory contains all the master dark calibration files. There are as many directories as there have been nights when dark calibration files were taken. Let's look into the content of one of them.

zb08c_0600_70164

This directory contains:

  • the master dark FITS file zb08c_0600_70164_master_d.fits
  • the symlink to the master zero FITS file that was used to create the master dark
  • symlinks to dark FITS files that were used to construct the master dark

The name of this directory is the same as the core name of the master dark FITS file inside this folder. The rest of the master dark's name is "_master_d.fits", "d" coming from the word dark. The core name of the master dark file comes from the name of the last dark file in the set of darks taken by that night that were stacked to create the master file, i.e. zb08c_0600_70164.fits from the "raw" directory.

flats

This directory contains all the master flat field calibration files. Here there are 8 subdirectories, named after filters: B, g, i, Ic, r, u, V, z. Let's examine one of them.

V

This directory contains all master flat fields in the V filter. There are as many subdirectories as there have been dawns/dusks when flat calibration files in this given filter were taken. There's also a symlink to the newest master flat in the V band. This symlink updates every time a new master flat is created. Now, let's look into the content of one of the flat directories.

zb08c_0613_89705

This directory contains:

  • the master flat FITS file zb08c_0613_89705_master_f_V.fits
  • the symlink to the master zero FITS file that was used to create the master flat
  • the symlink to the master dark FITS file that was used to create the master flat
  • symlinks to flat FITS files that were used to construct the master flat

The name of this directory is the same as the core name of the master flat FITS file inside this folder. The rest of the master flat's name is "_master_f_V.fits", "f" coming from the word flat, and V being the filter. The core name of the master flat comes from the name of the last flat file in the set of flats taken that dawn/dusk that were stacked to create the master file, i.e. zb08c_0613_89705.fits from the "raw" directory.

Master flat requires 7 images

Master flat is created from at least 7 flat images, taken "in one sitting" i.e. at dusk/dawn. If fewer images were taken, they are simply ignored.

science

This directory contains all the reduced science observations organized by night. There are as many subdirectories as there have been nights when science FITS files were taken. Let's look into the content of one of them.

0614

This directory contains all reduced science observations from night 0614. There are as many subdirectories as there have been individual observations during a given night. An observation is either a target of scientific interest or a standard star. Let's look into the content of one of directories.

zb08c_0614_85515

This directory contains:

  • a symlink to the raw FITS file of an object (science FITS file)
  • a symlink to the master zero FITS file that was used to create the master flat, it's the latest master zero that was created before the raw science file
  • a symlink to the master dark FITS file that was used to create the master flat, it's the latest master dark that was created before the raw science file
  • a symlink to the master flat FITS file that was used to create the master flat, it's the latest master flat that was created before the raw science file
  • a reduced1 science FITS file, i.e. corrected for zero, dark, and flat, using master zero, master dark, and master flat FITS files (has "_zdf" in name)
  • a json file with all the information on the final FITS file, including qality checks of its raw version and calibration files
  • a txt file with aperture photometry for all the stars in the field
  • a png image with quality map (has "_qmap" in name) <- why it is always black? What info does it show?

The name of this directory is the same as the core name of the reduced science FITS file inside this folder. The rest of the reduced science file's name is "_zdf.fits", "z" coming from the word zero, "d" from dark, and "f" from flat. The core name of the reduced science file is the same as the name of the raw science file.

standards

This directory contains:

  • directories named after a given night (machine-friendly) containing symlinks to aperture photometry and json files of standard stars observed that night and used to calculate the coefficients described below
  • text files with average coefficients: color, airmass and zero point, calculated for filters: B, V, Ic, and color indices: B-V, V-Ic. For each filter and color index there are 3 files, that slightly – but importantly! – differ in name:

    • if all 3 letters acz appear in the name, all the 3 coefficients were fitted
    • if 2 letters az appear in the name, 2 coefficients (airmass and zero point) were fitted, while the color coefficient was fixed
    • if only 1 letter z appears in the name, only 1 coefficient (zero point) was fitted, while the color and airmass coefficients were fixed

    These files store information about the coefficients (fixed and fitted), nights (machine-friendly) for which they were calculated, numbers of stars from a given night used in the calculation, errors of the fit, and more.

targets

Here there are as many directories as there are targets that were observed since we launched the new OCM. If there is more than one target in the field (which is especially true for fields with standard stars), more than one directory will be created, with a suffix that guarantees the uniqueness of its name. Let's look into the content of one of the directories.

aa_aql

Here there are as many subdirectories as there are filters that this target was observed in, usually 8: B, g, i, Ic, r, u, V, z. Let's examine one of them. In each of them there is another directory "light-curve", and in this directory there are the following files:

  • diff_light_curve.txt - the text file with the differential light curve created with respect to ref_index.txt (described below). The columns are:

    • "object" – the name of the object
    • "mag" – instrumental magnitude calculated from aperture photometry of size XX
    • "mag_err" – final photometric error on instrumental magnitude
    • "snr" – signal-to-noise ratio
    • "jd_obs" – Julian Date at the start of the exposure
    • "bjd_tdb" – Barycentric Julian Date in the middle of the exposure
    • "date_obs" – date at the start of the exposure in format YYYY-MM-DDTHH:MM:SS.SSSSSS
    • "file" – the file from which the aperture photomery was taken
    • "filter" – filter in which image was taken
    • "exp_time" – exposure time
    • "airmass" – airmass at the beginnin of the exposure
    • "quality" – there are three possible numbers: 0 - no objections, all good; 1 - some objections, warning; 2 - bad, don't use it
    • "qmap_stars_ok" –
    • "fwhm_px" – full width at half maximum for the object
    • "_mag_std_noshift" – I don't know, ask mkicia
    • "_diff" – I don't know, ask mkicia
    • "mag_std" – standardized magnitude, if "nan" - the light curve hasn't been standardized yet
  • diff_light_curve_chart.png - the image of the light curve created based on diff_light_curve.txt. These images gathered together for every star in every filter are available on the OCM website

  • the photometric map of the field, which contains the magnitudes of all targets observed from all nights, each target in one row, and each night in one column
  • symlinks to aperture photometry and json files of the target – as many as there were observations of this target
  • ref_index.txt which is symlinked to the file with aperture photometry of a reference image, i.e. the image with the largen bumber of stars2 recognized by the pipeline. The reference image updates itself if a new image with more stars recognized by the pipeline is produced

  • two invisible files:

    • .aa_aql_V_raw_mag.txt with instrumental magnitudes and timestamps of observations, all this information is also stored in diff_light_curve.txt <- then why this file exists?
    • .ap_tab_last_mod.txt which stores the information of the indices of every star in the field from every aperture file across time. This helps to locate a given star in every aperture file even though the star can have different index numbers across different aperture files. As long as we keep track of these index numbers, we don't have to match the star from different nights with itself all over again, and that saves a lot of time and computational power.

thumbnails

This directory contains only one file "last_diff_light_curve_chart.png" which is exactly the plot of the light curve that observers see after completion of each observation. You probably wondered where this plot is coming from? Now you know :)

shutter

This directory contains the shutter map in FITS format. Currenly only jk15 has it.

fringing

This directory contains subdirectories with filters, and in each subdirectory there's a fringing map. Currenly only jk15 has it. Inside the subdirectory, there are:

  • directory "1" with the 1st version of the fringing map
  • symlinks to the most recent fringing maps in FITS and txt format

guiding

This directory is currently empty for all telescopes. It will contain guiding images and related metadata from observations.

tmp

Temporary processing directory used by OFP. Usually can be cleaned periodically.

File Naming Convention

All FITS files follow a consistent naming pattern:

{telescope}{instrument}_{night}_{count}.fits

Where:

  • telescope: e.g., zb08, iris, jk15, wk06
  • instrument: Single letter, typically "c" for camera/CCD
  • night: 4-digit OCM Julian Date
  • count: 5-digit counter (seconds within the day × 100)

Examples:

  • zb08c_0621_46308.fits – ZB08 telescope, night 0621, count 46308
  • jk15c_0671_62637.fits – JK15 telescope, night 0671, count 62637

Processed File Naming:

  • Master ZERO: {basename}_master_z.fits
  • Master DARK: {basename}_master_d.fits
  • Master FLAT: {basename}_master_f_{filter}.fits
  • Reduced Science (ZDF): {basename}_zdf.fits (Zero-Dark-Flat corrected)

OCM Julian Date Format

The OCM uses a 4-digit Julian date system for night directories:

  • Reference date: 2023-02-24 = day 0000
  • Range: 0000-9999 (covers approximately 27 years)
  • Example: Night 1075 ≈ 2025-12-30

Raw Files Organization

All raw FITS files (both science and calibration) are stored together in night directories:

{telescope}/raw/{night}/*.fits

There are no subdirectories; file type (science/ZERO/DARK/FLAT) is determined by FITS headers, not by directory structure.

Important: The raw directory structure is read-only. If you need to modify raw data, copy it to your home folder.

The processed files use symlinks extensively to establish relationships and dependencies.

From Science Directories (location: science/{night}/{basename}/) symlinks point to:

  • Raw science file: ../../../../raw/{night}/{basename}.fits (relative path, 4 levels up)
  • Master ZERO: ../../../zeros/{calib_basename}/{calib_basename}_master_z.fits (3 levels up)
  • Master DARK: ../../../darks/{calib_basename}/{calib_basename}_master_d.fits (3 levels up)
  • Master FLAT: ../../../flats/{filter}/{calib_basename}/{calib_basename}_master_f_{filter}.fits (3 levels up)

Important

The calibration files for reduction of science data used are the latest versions created before each science observation.

From Calibration Directories for ZERO and DARK directories symlinks point to:

  • Raw files: ../../../raw/{night}/{basename}.fits (3 levels up)

From Calibration Directories For FLAT directories symlinks point to (note extra filter level):

  • Raw files: ../../../../raw/{night}/{basename}.fits (4 levels up)
  • Master ZERO: ../../../zeros/{calib_basename}/{calib_basename}_master_z.fits
  • Master DARK: ../../../darks/{calib_basename}/{calib_basename}_master_d.fits

From Target Light-Curve Directories (location: targets/{object}/{filter}/light-curve/) symlinks point to:

  • Science JSON files: ../../../../science/{night}/{basename}/{basename}.json (4 levels up)
  • Aperture photometry: ../../../../science/{night}/{basename}/{basename}_ap.txt

Summary

Type Location Extension Symlinks Notes
Raw Science raw/{night}/ .fits No Mixed with calibration files
Raw ZERO/DARK/FLAT raw/{night}/ .fits No No subdirectories in raw/
Calibrated Science science/{night}/{basename}/ _zdf.fits Yes (3-4) Has JSON metadata
Master ZERO zeros/{basename}/ _master_z.fits No Symlinks to raw ZEROs
Master DARK darks/{basename}/ _master_d.fits Yes (to ZERO) Depends on ZEROs
Master FLAT flats/{filter}/{basename}/ _master_f_{filter}.fits Yes (to ZERO, DARK) Filter-organized, depends on ZEROs & DARKs

Important Notes

  • Preservation: Raw data directories cannot be deleted or modified. Copy to your home directory if processing is needed.
  • Server migration: All data is now on "vela" server in CAMK (/work/vela/oca/fits/). The old "apus" server has been decommissioned.
  • Symlink patterns: The use of relative paths in symlinks ensures portability if directory structures are moved.
  • JSON metadata: Science and standard star observations have accompanying JSON files with detailed processing metadata and quality checks.
  • Processing: All reduced data come from the OFP (OCM Fits Processor) – automated pipeline, which handles calibration and aperture photometry.

  1. There is confusion about the meaning of words "reduction" and "calibration" which stems from the fact that raw data are being reduced to its final form using calibration images: zeros, darks, flats. Here we follow ESO's nomenclature, who use the word "reduction" when they correct raw images for zeros, darks, and flats. ↩

  2. Not all images of the same field will have the same number of stars recognized by the pipeline. It depends on the quality of the night (faint objects observed with large seeing will be burried in the noise), slight change in the pointing of the telescope, appearance of meteors or satellites, etc. ↩