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
ddad8152
Commit
ddad8152
authored
2 years ago
by
tomrink
Browse files
Options
Downloads
Patches
Plain Diff
minor
parent
1ff93105
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/util/viirs_l1b_l2.py
+2
-1
2 additions, 1 deletion
modules/util/viirs_l1b_l2.py
with
2 additions
and
1 deletion
modules/util/viirs_l1b_l2.py
+
2
−
1
View file @
ddad8152
import
numpy
as
np
import
h5py
from
util.util
import
get_grid_values
,
get_grid_values_all
,
is_night
,
compute_lwc_iwc
from
util.util
import
get_grid_values
,
get_grid_values_all
,
is_night
,
is_day
,
compute_lwc_iwc
import
glob
import
os
from
aeolus.datasource
import
CLAVRx_VIIRS
...
...
@@ -232,6 +232,7 @@ def scan(directory):
h5f
.
close
()
continue
# if is_day(solzen) and moon_phase(ts):
if
is_night
(
solzen
)
and
moon_phase
(
ts
):
print
(
file
)
h5f
.
close
()
...
...
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