NSAPH Data Platform
Contents
Introduction
What is Data Platform
Data Domains
Data Processing Pipelines
Python Packages
Data Platform Internals
Adding more data
Terms and Acronyms
Indices
NSAPH Data Platform
The netCDF_tools Module
View page source
The netCDF_tools Module
Reads a NetCDF file (
*
.nc) and prints some information about it
class
NCViewer
(
fn
,
smp
=
10
)
[source]
get_geospatial_size
(
)
[source]
get_optimal_downscaling_factor
(
ram
:
int
)
[source]
print_var
(
var
:
str
)
[source]
print_geo_var
(
var
:
str
)
[source]
print
(
)
[source]
print_metadata
(
)
[source]
print_random_values
(
)
[source]
random_lat_lon
(
)
→
List
[
Tuple
[
int
,
int
]
]
[source]
get_value
(
t
:
Dict
,
var
:
str
)
[source]
get_anchor
(
t
:
Dict
)
[source]
gen_random_dimensions
(
)
→
List
[
Dict
]
[source]
generate_area
(
)
→
List
[
Dict
]
[source]
print_by_geography
(
points
:
List
[
Dict
]
)
[source]
find
(
dim
:
str
,
val
:
str
)
[source]
map_var
(
var
:
str
)
→
str
[source]
set_args
(
argv
:
List
[
str
]
)
[source]