Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cspp-geo-gridded-glm
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
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
cspp_geo
cspp-geo-gridded-glm
Commits
902309f7
Commit
902309f7
authored
4 years ago
by
Nick Bearson
Browse files
Options
Downloads
Patches
Plain Diff
move our header to the top for visibility, and linkj back to the original make_GLM_grids script
parent
c3f165b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3
glm_grids_updates
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gridded_glm/bin/_make_glm_grids.py
+14
-13
14 additions, 13 deletions
gridded_glm/bin/_make_glm_grids.py
with
14 additions
and
13 deletions
gridded_glm/bin/_make_glm_grids.py
+
14
−
13
View file @
902309f7
#!/usr/bin/env python3
# Based on https://github.com/deeplycloudy/glmtools/blob/master/examples/grid/make_GLM_grids.py
parse_desc
=
"""
Grid GLM flash data.
The start and end times can be specified
independently, or if not provided they will be inferred from the filenames.
Grid spacing is regular in latitude and longitude with the grid box
being sized to match the requested dx, dy at the center of the grid.
By default, data will be saved to the current directory according to the
standard GOES imagery naming convention. This behavior can be fully controlled
by adjusting the -o argument.
"""
import
numpy
as
np
from
datetime
import
datetime
...
...
@@ -14,19 +28,6 @@ import logging
log
=
logging
.
getLogger
(
__name__
)
parse_desc
=
"""
Grid GLM flash data.
The start and end times can be specified
independently, or if not provided they will be inferred from the filenames.
Grid spacing is regular in latitude and longitude with the grid box
being sized to match the requested dx, dy at the center of the grid.
Therefore, this script can be used to process multiple days and they will
be written to a standardized directory structure.
"""
def
create_parser
():
import
argparse
parser
=
argparse
.
ArgumentParser
(
description
=
parse_desc
)
...
...
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