Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MetObsAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MetObs
MetObsAPI
Commits
57c6495f
Verified
Commit
57c6495f
authored
5 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Add level descriptions to archive info
parent
76b471c0
No related branches found
No related tags found
1 merge request
!5
Add level descriptions to archive info
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
metobsapi/util/file_responses.py
+9
-0
9 additions, 0 deletions
metobsapi/util/file_responses.py
with
9 additions
and
0 deletions
metobsapi/util/file_responses.py
+
9
−
0
View file @
57c6495f
...
...
@@ -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
'
:
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment