Вы находитесь на странице: 1из 2

DEVELOPERS GUIDE

GLOSS & GOES Project:


• GLOSS data: The data is in the form of YYYYMMddHHmmss folders. It usually contains 63
files which are .spec extension.
• A Java program called “ReadSpec.java” reads the entire folder at once and inserts the values of
the individual files into the database.
• To insert the files into DB, Run the following command:
$java -jar ReadSpec.jar <folderPath>
• GOES data: The data is in the form of .csv files in a folder on a month basis.
• A Java program called “ReadGOES.java” reads the entire folder at once and inserts the value of
the individual files into the database.
• To insert the files into DB, Run the following command:
$java -jar ReadGOES.jar <folderPath>

Web Interface to access the data:


• The .war (Web Archive) file is placed in the /var/lib/tomcat/webapps directory.
• To access the web interface in the web browser:
http://radiodata:8080/GLOSS_Calendar4 or
http://192.168.40.10:8080/GLOSS_Calendar4
• The input to this is Date in YYYYMMDD format. After the respective plots are retrieved and
displayed, the input for Start Time and End Time in HH:mm:ss format is needed to zoom to a
particular area in the plot.
• The output of the fits file is stored in the location - “/var/lib/tomcat/webapps/fits_files/”

Database:
• Database Name: GLOSS_Data
UserName: postgres
Password: postgres123
Tables: gloss.solar
• Database Name: GOES_XRay
UserName: postgres
Password: postgres123
Tables: goes_solar_xray

Files & Folders:


• Daily GLOSS Images:
/home/gloss_data/Daily_SPEC_Images/glossimages/<YEAR>/<MONTH>
File Name in the format: GBD_DSPEC_<YEAR><MONTH><DAY>.jpeg
• Python Programs:
Day X-Ray Plot: /var/lib/tomcat/webapps/GLOSS_GOES_Info2/read_xray.py
Zoom Plot: /var/lib/tomcat/webapps/GLOSS_GOES_Info2/read_xray_zoom6.py
• Output Folder:
/var/lib/tomcat/webapps/GLOSS_GOES/<YYYY-MM-dd_HH:mm:ss>/
The timestamp is the time at which the program is started. Initially create a directory
“GLOSS_GOES” and assign permissions 777 using chmod command.
UVIT Engineering Project:
• Automatic Report Generator and Mailer:
This program automatically generates the current state and essential report and mails it to the
respective user list.
Folder Located: /var/lib/tomcat/webapps/
Files:
1. report.jar
2. report.sh
3. report_log.txt
(Permissions – 777)
The output of report.jar is stored in the folder:
/var/lib/tomcat/webapps/Essential_Parameters_Reports/YYYY/Month/YYYY-MM-DD
The shell script “report.sh” runs the program “report.jar” everyday at 12 P.M. Noon which is set
by the crontab. The timings can be changed by the following command.
$ crontab -e
The output of the program is logged in the file “report_log.txt”

Вам также может понравиться