Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Tom Rink
python
Commits
5563614c
Commit
5563614c
authored
1 year ago
by
tomrink
Browse files
Options
Downloads
Patches
Plain Diff
snapshot
parent
4757118b
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
modules/aeolus/datasource.py
+18
-0
18 additions, 0 deletions
modules/aeolus/datasource.py
with
18 additions
and
0 deletions
modules/aeolus/datasource.py
+
18
−
0
View file @
5563614c
...
...
@@ -183,6 +183,24 @@ class CLAVRx_H08(Files):
return
None
class
CLAVRx_H09
(
Files
):
def
__init__
(
self
,
files_path
,
pattern
=
'
clavrx_H09*.level2.nc
'
):
super
().
__init__
(
files_path
,
10
,
pattern
)
self
.
params
=
get_parameters_clavrx
()
def
get_datetime
(
self
,
pathname
):
filename
=
os
.
path
.
split
(
pathname
)[
1
]
dt_str
=
filename
[
11
:
24
]
dto
=
datetime
.
datetime
.
strptime
(
dt_str
,
'
%Y%m%d_%H%M
'
).
replace
(
tzinfo
=
timezone
.
utc
)
return
dto
def
get_parameters
(
self
):
return
self
.
params
def
get_navigation
(
self
,
h5f
):
return
None
class
CLAVRx_CALIPSO
(
Files
):
def
__init__
(
self
,
files_path
,
pattern
=
'
*_06kmCLay.matchup.calipso.h5
'
):
super
().
__init__
(
files_path
,
10
,
pattern
)
...
...
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