Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
intercal
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Fazlul Shahriar
intercal
Commits
68d98ade
Commit
68d98ade
authored
10 years ago
by
Greg Quinn
Browse files
Options
Downloads
Patches
Plain Diff
Only include basename of input files
parent
f5ab9d63
No related branches found
Tags
v3-iasi_airs
v3-iasi_cris
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
intercal/main.py
+2
-1
2 additions, 1 deletion
intercal/main.py
with
2 additions
and
1 deletion
intercal/main.py
+
2
−
1
View file @
68d98ade
import
argparse
from
datetime
import
datetime
import
os
import
h5py
import
numpy
as
np
...
...
@@ -107,7 +108,7 @@ def main():
output_file
.
create_dataset
(
'
NPP_Time
'
,
data
=
unix_time
(
args
.
npp_time
))
output_file
.
create_dataset
(
'
SNO_Latitude
'
,
data
=
args
.
latitude
)
output_file
.
create_dataset
(
'
SNO_Longitude
'
,
data
=
args
.
longitude
)
output_file
.
create_dataset
(
'
Input_Files
'
,
data
=
args
.
files
)
output_file
.
create_dataset
(
'
Input_Files
'
,
data
=
[
os
.
path
.
basename
(
f
)
for
f
in
args
.
files
]
)
if
__name__
==
'
__main__
'
:
main
()
...
...
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