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
406717c8
Unverified
Commit
406717c8
authored
8 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Fix old 'version' key in archive info
parent
f3487d57
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
metobsapi/util/file_responses.py
+1
-7
1 addition, 7 deletions
metobsapi/util/file_responses.py
with
1 addition
and
7 deletions
metobsapi/util/file_responses.py
+
1
−
7
View file @
406717c8
...
@@ -61,32 +61,26 @@ ARCHIVE_INFO = {
...
@@ -61,32 +61,26 @@ ARCHIVE_INFO = {
'
par
'
:
{
'
par
'
:
{
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
pattern
'
:
'
%y%m%d.par
'
,
'
pattern
'
:
'
%y%m%d.par
'
,
'
version
'
:
(
'
version_00
'
,),
},
},
'
qc
'
:
{
'
qc
'
:
{
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
pattern
'
:
'
%y%m%d.qc
'
,
'
pattern
'
:
'
%y%m%d.qc
'
,
'
version
'
:
(
'
version_00
'
,),
},
},
'
sum
'
:
{
'
sum
'
:
{
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
pattern
'
:
'
%y%m%d.sum
'
,
'
pattern
'
:
'
%y%m%d.sum
'
,
'
version
'
:
(
'
version_00
'
,),
},
},
'
scr-aesitter
'
:
{
'
scr-aesitter
'
:
{
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
pattern
'
:
'
AESITTER.SCR
'
,
'
pattern
'
:
'
AESITTER.SCR
'
,
'
version
'
:
(
'
version_00
'
,),
},
},
'
scr-radiance
'
:
{
'
scr-radiance
'
:
{
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
pattern
'
:
'
RADIANCE.SCR
'
,
'
pattern
'
:
'
RADIANCE.SCR
'
,
'
version
'
:
(
'
version_00
'
,),
},
},
'
scr-summary
'
:
{
'
scr-summary
'
:
{
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
pattern
'
:
'
SUMMARY.SCR
'
,
'
pattern
'
:
'
SUMMARY.SCR
'
,
'
version
'
:
(
'
version_00
'
,),
},
},
},
},
},
},
...
@@ -119,7 +113,7 @@ for file_suffix in ('B1.CXS',
...
@@ -119,7 +113,7 @@ for file_suffix in ('B1.CXS',
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
frequency
'
:
ProductFrequency
.
DAILY_DIR
,
'
pattern
'
:
'
%y%m%d{}
'
.
format
(
file_suffix
),
'
pattern
'
:
'
%y%m%d{}
'
.
format
(
file_suffix
),
}
}
ARCHIVE_INFO
[
'
aoss
'
][
'
instruments
'
][
'
aeri
'
][
'
levels
'
][
'
level_00
'
][
product_id
]
=
nfo
ARCHIVE_INFO
[
'
aoss
'
][
'
instruments
'
][
'
aeri
'
][
'
levels
'
][
'
level_00
'
][
'
products
'
][
product_id
]
=
nfo
# Create stream_id -> stream_info mapping
# Create stream_id -> stream_info mapping
ARCHIVE_STREAMS
=
{}
ARCHIVE_STREAMS
=
{}
...
...
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