FitHAS, an easy to use assistant tool for FITS data archiving

Download Report

Transcript FitHAS, an easy to use assistant tool for FITS data archiving

FitHAS, an easy to use assistant
tool for FITS data archiving
Wen Li, Chenzhou Cui, Ce Yu
China-VO team
NAOC & Tianjin University
Content




FITS
Introduction to FitHAS
Features of FitHAS
Demo




FITS
Introduction to FitHAS
Features of FitHAS
Demo
FITS



Flexible Image Transport System
The standard data format used in
astronomy
Endorsed by NASA and the
International Astronomical Union
FITS data storage

Current storage: files

Store in database?

How to archive metadata of FITS
files into database easily?




FITS
Introduction to FitHAS
Features of FitHAS
Demo
FitHAS

FITS Header Archiving System
• an easy to use assistant tool for FITS
data archiving
• provides graphic interface and wizard
• extracts header information from FITS
files and import it to database.

Architecture of FitHAS
Wizard
Header
viewer
Header analysis
FITSfiles
files
FITS
FITS
files
Archive
moniter
Database
browser
Metadata Mapping
and Archiving
Configuration
Database
controller
Database
Configuration
files
What can FitHAS do?


View FITS header
Create tables in database according to the
header structure of the file(s)

Archive file(s) header(s) into database

Review records archived into a table




FITS
Introduction to FitHAS
Features of FitHAS
Demo
Features

Supports single file archiving, as well as
batch archiving
• Single file
• Multiple files
• directory

Supports file name filter
• Useful to specify which file(s) or directory to
be imported.
• Use regular expression
















\d <-> A digit: [0-9]
\D <-> A non-digit: [^0-9]
\w <-> A word character: [a-zA-Z_0-9]
\W <-> A non-word character: [^\w]
\s <-> A whitespace character (spaces, tabs, line breaks, etc.)
\S <-> A non-whitespace character: [^\s]
. <-> any character
[abc] <-> a, b, or c
[a-zA-Z] <-> A letter (in range of a - z, or A - Z)
X? <-> X, 0~1 times
X* <-> X, zero or more times
X+ <-> X, one or more times
X{n} <-> X, exactly n times
X{n,} <-> X, at least n times
X{n,m} <-> X, at least n but not more than m times
…

Friendly interface, convenient wizard,
detailed operation hint and result report.

Various strategy to archive duplicate
records
• Empty table and archive
• Skip duplicate files
• Update duplicate records


Auto generate table schema according to
the selected file(s)
Keep the directory structure of the files in
database.




FITS
Introduction to FitHAS
Features of FitHAS
Demo
Thank you!