Skip to content
Snippets Groups Projects
Commit d4d5235e authored by David Hoese's avatar David Hoese
Browse files

Merge branch 'feature-level-description' into 'master'

Add level descriptions to archive info

See merge request !5
parents 76b471c0 57c6495f
No related branches found
No related tags found
1 merge request!5Add level descriptions to archive info
......@@ -2,6 +2,12 @@ import os
from collections import defaultdict
from metobsapi.util import ProductFrequency, FREQUENCY_DIR_FMT
# ARM Data Levels: https://www.arm.gov/policies/datapolicies/formatting-and-file-naming-protocols
L00_DESCRIPTION = "raw data – primary raw data stream collected directly from instrument"
LA0_DESCRIPTION = "converted to netCDF"
L11_DESCRIPTION = "calibration factors applied and converted to geophysical units"
LB1_DESCRIPTION = "QC checks applied to measurements"
# TODO: Load from config file
ARCHIVE_INFO = {
'aoss': {
......@@ -11,6 +17,7 @@ ARCHIVE_INFO = {
'display_name': 'Tower',
'levels': {
'level_00': {
'description': L00_DESCRIPTION,
'versions': ('version_00',),
'products': {
'ascii': {
......@@ -21,6 +28,7 @@ ARCHIVE_INFO = {
},
},
'level_b1': {
'description': LB1_DESCRIPTION,
'versions': ('version_00',),
'products': {
# 'nc-monthly': {
......@@ -84,6 +92,7 @@ ARCHIVE_INFO = {
'display_name': 'AERI',
'levels': {
'level_00': {
'description': L00_DESCRIPTION,
'versions': ('version_00',),
'products': {
'par': {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment