def orbits.src.SatRaster.SatRaster.__init__ |
( |
|
self, |
|
|
|
satcatid = None , |
|
|
|
sat_name = None , |
|
|
|
ignore_unknown_args = 1 , |
|
|
|
time_format = None , |
|
|
|
t0 = None , |
|
|
|
t1 = None |
|
) |
| |
def orbits.src.SatRaster.SatRaster.arr2band |
( |
|
self, |
|
|
|
arr, |
|
|
|
f_out = "output.tif" , |
|
|
|
band = 1 |
|
) |
| |
def orbits.src.SatRaster.SatRaster.arrs2pos |
( |
|
self, |
|
|
|
sec_sample_rate = 5.0 |
|
) |
| |
def orbits.src.SatRaster.SatRaster.axis_stats |
( |
|
self, |
|
|
|
arr, |
|
|
|
pixel_res = 0.1 , |
|
|
|
downsampling = 1 , |
|
|
|
n_deg1 = 5 , |
|
|
|
n_deg2 = 10 |
|
) |
| |
Requires downsampling for axis_stats to be meaningful
eg: n_deg > pixel_res
def orbits.src.SatRaster.SatRaster.band2arr |
( |
|
self, |
|
|
|
f_out = "output.tif" , |
|
|
|
band = 1 , |
|
|
|
x_dim = 3600 , |
|
|
|
y_dim = 1800 |
|
) |
| |
def orbits.src.SatRaster.SatRaster.calc_geo_bounds |
( |
|
self | ) |
|
Ensure geo bounds are set, calculate once for class
Must be recalculated if raster dimensions or resolution change!
def orbits.src.SatRaster.SatRaster.calc_inv_xform |
( |
|
self, |
|
|
|
GT = None |
|
) |
| |
Invert geo transform to make geo2xy factor
def orbits.src.SatRaster.SatRaster.calc_xform |
( |
|
self, |
|
|
|
f_out = None |
|
) |
| |
def orbits.src.SatRaster.SatRaster.correct_geo_xy |
( |
|
self, |
|
|
|
geo_x, |
|
|
|
geo_y |
|
) |
| |
def orbits.src.SatRaster.SatRaster.correct_rast_xy |
( |
|
self, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
def orbits.src.SatRaster.SatRaster.downsample_arr |
( |
|
self, |
|
|
|
arr, |
|
|
|
pixel_res = 0.1 , |
|
|
|
n_deg = 5 , |
|
|
|
verbose = 1 |
|
) |
| |
def orbits.src.SatRaster.SatRaster.downsample_sum |
( |
|
self, |
|
|
|
band_x_sum, |
|
|
|
band_y_sum, |
|
|
|
pixel_res, |
|
|
|
n_deg, |
|
|
|
verbose = 1 |
|
) |
| |
Downsample band, summing pooled values
band_x and band_x size must be divisible by downsample_factor
def orbits.src.SatRaster.SatRaster.floor_xy |
( |
|
self, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
def orbits.src.SatRaster.SatRaster.geo2xy |
( |
|
self, |
|
|
|
geo_x, |
|
|
|
geo_y |
|
) |
| |
def orbits.src.SatRaster.SatRaster.get_sat_state |
( |
|
self | ) |
|
def orbits.src.SatRaster.SatRaster.load_raster_stats |
( |
|
self, |
|
|
|
f_out = "output.tif" , |
|
|
|
pixel_res = 0.1 , |
|
|
|
band = 1 , |
|
|
|
x_dim = 3600 , |
|
|
|
y_dim = 1800 , |
|
|
|
verbose = 1 , |
|
|
|
do_axis_stats = 0 |
|
) |
| |
def orbits.src.SatRaster.SatRaster.make_arr |
( |
|
self, |
|
|
|
x_dim = None , |
|
|
|
y_dim = None , |
|
|
|
dtype = np.uint16 |
|
) |
| |
def orbits.src.SatRaster.SatRaster.make_out_raster |
( |
|
self, |
|
|
|
x_dim = 3600 , |
|
|
|
y_dim = 1800 , |
|
|
|
x_res = 0.1 , |
|
|
|
y_res = -0.1 , |
|
|
|
x0 = -180 , |
|
|
|
y0 = 90 , |
|
|
|
raster_driver = "GTiff" , |
|
|
|
num_bands = 1 , |
|
|
|
f_out = "output.tif" |
|
) |
| |
def orbits.src.SatRaster.SatRaster.make_sat_state |
( |
|
self | ) |
|
def orbits.src.SatRaster.SatRaster.parse_satraster_properties |
( |
|
self | ) |
|
def orbits.src.SatRaster.SatRaster.put_pos_n_arr |
( |
|
self, |
|
|
|
lon, |
|
|
|
lat, |
|
|
|
band_arr |
|
) |
| |
def orbits.src.SatRaster.SatRaster.raster_stats |
( |
|
self, |
|
|
|
arr |
|
) |
| |
Intended to be run after raster data loaded, ignores NaNs
def orbits.src.SatRaster.SatRaster.satraster_main |
( |
|
self | ) |
|
def orbits.src.SatRaster.SatRaster.set_raster_f_in |
( |
|
self | ) |
|
def orbits.src.SatRaster.SatRaster.set_raster_f_out |
( |
|
self | ) |
|
def orbits.src.SatRaster.SatRaster.set_satraster_defaults |
( |
|
self | ) |
|
def orbits.src.SatRaster.SatRaster.stream2pos |
( |
|
self, |
|
|
|
sec_sample_rate = 5.0 , |
|
|
|
t_list = None |
|
) |
| |
def orbits.src.SatRaster.SatRaster.tle2raster |
( |
|
self, |
|
|
|
stream = 1 , |
|
|
|
f_out = "output.tif" , |
|
|
|
stats = 1 , |
|
|
|
band = 1 , |
|
|
|
x_dim = 3600 , |
|
|
|
y_dim = 1800 , |
|
|
|
sec_sample_rate = 5.0 , |
|
|
|
t_list = None |
|
) |
| |
def orbits.src.SatRaster.SatRaster.write_ds_arr |
( |
|
self, |
|
|
|
n_arr, |
|
|
|
pixel_res = 5.0 , |
|
|
|
verbose = 1 |
|
) |
| |
def orbits.src.SatRaster.SatRaster.xy2geo |
( |
|
self, |
|
|
|
x, |
|
|
|
y |
|
) |
| |
orbits.src.SatRaster.SatRaster.arg_p |
orbits.src.SatRaster.SatRaster.band_stats |
orbits.src.SatRaster.SatRaster.do_raster_stats |
orbits.src.SatRaster.SatRaster.f_in |
orbits.src.SatRaster.SatRaster.f_in_fullpath |
orbits.src.SatRaster.SatRaster.f_out |
orbits.src.SatRaster.SatRaster.f_out_fullpath |
orbits.src.SatRaster.SatRaster.geo_precision |
orbits.src.SatRaster.SatRaster.geo_x_max |
orbits.src.SatRaster.SatRaster.geo_x_min |
orbits.src.SatRaster.SatRaster.geo_x_tolerance |
orbits.src.SatRaster.SatRaster.geo_y_max |
orbits.src.SatRaster.SatRaster.geo_y_min |
orbits.src.SatRaster.SatRaster.geo_y_tolerance |
orbits.src.SatRaster.SatRaster.GT |
orbits.src.SatRaster.SatRaster.GT_INV |
orbits.src.SatRaster.SatRaster.num_bands |
orbits.src.SatRaster.SatRaster.pixel_res |
orbits.src.SatRaster.SatRaster.rast_tolerance |
orbits.src.SatRaster.SatRaster.raster_driver |
orbits.src.SatRaster.SatRaster.sat_name |
orbits.src.SatRaster.SatRaster.sat_state |
orbits.src.SatRaster.SatRaster.satcatid |
orbits.src.SatRaster.SatRaster.sec_sample_rate |
orbits.src.SatRaster.SatRaster.stream |
orbits.src.SatRaster.SatRaster.t_list |
orbits.src.SatRaster.SatRaster.x0 |
orbits.src.SatRaster.SatRaster.x_dim |
orbits.src.SatRaster.SatRaster.x_res |
orbits.src.SatRaster.SatRaster.y0 |
orbits.src.SatRaster.SatRaster.y_dim |
orbits.src.SatRaster.SatRaster.y_res |
The documentation for this class was generated from the following file:
Copyright 2014 Google Inc. All rights reserved.