Difference between pages "AC Power Supply" and "DFN observatory data folders and files structure"

From DFN Wiki
(Difference between pages)
Jump to: navigation, search
(Tag: visualeditor)
 
m
 
Line 1: Line 1:
The power supply recommended for AC powered installations where the observatory is located close to the AC power supply is the [https://www.meanwellaustralia.com.au/products/gst120a Meanwell GST120A12].
+
Each DFN observatory has several disks with partitions for data. The operating system and buffer for several nights of data is on a fast and low power SSD drive, typically 500GB size. Most of it's  size is allocated to data0 partition. This one is mounted as /data0 in the embedded PC OS filesystem. Last up to two nights of raw data plus all history of log files are typically stored in /data0.
  
For observatories with heaters and long DC power cable runs the [https://www.meanwellaustralia.com.au/products/hrp-300 Meanwell HRP-300-12] is recommended as it's remote sense functionality allows it to compensate for any voltage drop in the long cable runs. (If no heaters are present, the [https://www.meanwellaustralia.com.au/products/hrp-150 Meanwell HRP-150-12] is the preferred option.)
+
On top of that, to be able to hold moths or years of data, there are removable drives. The number of drives depends on the observatory type. DFNITs have just one drive, DFNSMALLs two drives and DFNEXTs three drives. These are mounted as /data1, /data2 and /data3. Every day in late morning the SW in the observatory moves all the data except last night from the /data0 buffer to the removable (archive) drives. They fill up from #1 to #3.  
[[File:Power supply wiring with remote voltage sense.svg|none|thumb|640x640px|Power supply wiring with remote sense for long cable runs.]]
 
  
=== Outdoor Cable ===
+
''Note: When they get completely full, the SW starts compressing the old data - converting rwa (.NEF) images to .jpg, but only those images, where event detection was successfully executed and did not detect any likely fireball event. This compression functionality extends the time before the disk need to be replaced or data remotely deleted.''
The recommended off the shelf for use on roofs or outdoor structures is the sunlight and abrasion resistant AlphaWire EcoFlex PUR 80045 SL005 (unshielded) or 80145 SL005 (braid shield). Digi-Key usually has one or the other in stock: [https://www.digikey.com/product-detail/en/alpha-wire/80045-SL005/80045SL005-ND/5271247 80045 SL005], [https://www.digikey.com/product-detail/en/alpha-wire/80145-SL005/80145SL005-ND/5271269 80145 SL005].
 
  
That cabling doesn't have a twisted pair, so we recommend wiring up the conductors to the green numbering in the two images below.   
+
The data structure in /dataX folders is following:
 +
/data1
 +
├── DFNEXT022
 +
│   ├── 2018
 +
│   │   ├── 01
 +
│   │   │   ├── 2018-01-04_DFNEXT022_1515114584
 +
│   │   │   ├── 2018-01-05_DFNEXT022_1515112201
 +
                      ...
 +
│   │   │   ├── 2018-01-30_DFNEXT022_1517353916
 +
│   │   │   └── 2018-01-31_DFNEXT022_1517440320
 +
│   │   ├── 02
 +
│   │   │   ├── 2018-02-01_DFNEXT022_1517526718
 +
│   │   │   ├── 2018-02-02_DFNEXT022_1517613118
 +
  │   │   │   ├── 2018-02-03_DFNEXT022_1517699520
  
[[File:Remote sense cable wiring power supply side.jpg|none|thumb|640x640px|Recommended wiring on the power supply side for a 6 or 7 conductor cable (twisted pair will most likely not be present in off-the-shelf cables)]]
+
Under normal conditions there is one folder with images per night - unless there is for example power cut or some other interruption during the night. We call these chunks of data "camera sessions".
[[File:Remote sense cable wiring observatory side.jpg|none|thumb|640x640px|Recommended wiring on the observatory power plug side for a 6 or 7 conductor cable (twisted pair will most likely not be present in off-the-shelf cables)
 
  
Conductors 1 and 6 will need to be soldered to the side of C and B if thick conductors are used.
+
As you can see, the data storage is organised by time and the folders have the date included in the name.  
  
The transition from insulated wire to contact needs to be covered by heat shrink to prevent short circuits if the cable subject to twisting torques.]]
+
2018-01-30_DFNEXT022_1517353916 ... YYYY-MM-DD _ observatory name _ UNIX epoch time at the time when folder was created
 +
 
 +
Each of these folders contains up to over 1000 captured still images and a few other files like text logs. (The number of images depends of the duration of night and cloudiness.)
 +
The files (still images) have time-based file names as well, see the example
 +
 +
022_2018-01-31_143200_E_DSC_1644.NEF  ... NNN_YYYY-MM-DD_HHMMSS_T_DSC_XXXX.NEF
 +
 
 +
where
 +
 
 +
'''NNN1''' is observatory serial number
 +
'''YYYY-MM-DD_HHMMSS''' is UTC time of the beginning of the exposure
 +
'''T''' is the camera type (missing or S: DFNSMALL, E: DFNEXT, K: DFNKIT)
 +
'''DSC_XXXX.NEF''' is the original file name from the Nikon DSLR

Revision as of 20:44, 4 September 2019

Each DFN observatory has several disks with partitions for data. The operating system and buffer for several nights of data is on a fast and low power SSD drive, typically 500GB size. Most of it's size is allocated to data0 partition. This one is mounted as /data0 in the embedded PC OS filesystem. Last up to two nights of raw data plus all history of log files are typically stored in /data0.

On top of that, to be able to hold moths or years of data, there are removable drives. The number of drives depends on the observatory type. DFNITs have just one drive, DFNSMALLs two drives and DFNEXTs three drives. These are mounted as /data1, /data2 and /data3. Every day in late morning the SW in the observatory moves all the data except last night from the /data0 buffer to the removable (archive) drives. They fill up from #1 to #3.

Note: When they get completely full, the SW starts compressing the old data - converting rwa (.NEF) images to .jpg, but only those images, where event detection was successfully executed and did not detect any likely fireball event. This compression functionality extends the time before the disk need to be replaced or data remotely deleted.

The data structure in /dataX folders is following:

/data1
├── DFNEXT022
│   ├── 2018
│   │   ├── 01
│   │   │   ├── 2018-01-04_DFNEXT022_1515114584
│   │   │   ├── 2018-01-05_DFNEXT022_1515112201
                     ...
│   │   │   ├── 2018-01-30_DFNEXT022_1517353916
│   │   │   └── 2018-01-31_DFNEXT022_1517440320
│   │   ├── 02
│   │   │   ├── 2018-02-01_DFNEXT022_1517526718
│   │   │   ├── 2018-02-02_DFNEXT022_1517613118
│   │   │   ├── 2018-02-03_DFNEXT022_1517699520

Under normal conditions there is one folder with images per night - unless there is for example power cut or some other interruption during the night. We call these chunks of data "camera sessions".

As you can see, the data storage is organised by time and the folders have the date included in the name.

2018-01-30_DFNEXT022_1517353916 ... YYYY-MM-DD _ observatory name _ UNIX epoch time at the time when folder was created

Each of these folders contains up to over 1000 captured still images and a few other files like text logs. (The number of images depends of the duration of night and cloudiness.) The files (still images) have time-based file names as well, see the example

022_2018-01-31_143200_E_DSC_1644.NEF  ... NNN_YYYY-MM-DD_HHMMSS_T_DSC_XXXX.NEF

where

NNN1 is observatory serial number
YYYY-MM-DD_HHMMSS is UTC time of the beginning of the exposure
T is the camera type (missing or S: DFNSMALL, E: DFNEXT, K: DFNKIT)
DSC_XXXX.NEF is the original file name from the Nikon DSLR