OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
hico.proc_hico Namespace Reference

Functions

def proc_hico (ifile, earth_orient_file, leap_sec_file, boresight, nc_grp, calib_grp)
 

Variables

 parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter, description=, add_help=True)
 
 nargs
 
 type
 
 str
 
 help
 
 float
 
 default
 
 args = parser.parse_args('-ifile iss.2013067.0308.063527.L0.12933.20130308205743.hico_pos_vel_quat.csv -efile /home/rhealy/ocsswn/run/var/hico/finals.data -lfile /home/rhealy/ocsswn/run/var/modis/leapsec.dat -boresight -0.9957 0.0268 -0.0128'.split())
 
string ifile = ''.join(args.ifile)
 
string earth_orient_file = ''.join(args.efile)
 
string leap_sec_file = ''.join(args.lfile)
 
 boresight = args.boresight
 
 rootgrp = Dataset('test_hico.nc','w')
 
 navigation = rootgrp.createGroup("navigation")
 
 senz = navigation.createVariable('sensor_zenith','f4',('scan_lines','samples',))
 
 solz = navigation.createVariable('solar_zenith','f4',('scan_lines','samples',))
 
 sena = navigation.createVariable('sensor_azimuth','f4',('scan_lines','samples',))
 
 sola = navigation.createVariable('solar_azimuth','f4',('scan_lines','samples',))
 
 lon = navigation.createVariable('longitude','f4',('scan_lines','samples',))
 
 lat = navigation.createVariable('latitude','f4',('scan_lines','samples',))
 
 units
 
 valid_min
 
 valid_max
 
 long_name
 
 metadata = rootgrp.createGroup("metadata")
 
 hico = metadata.createGroup("HICO")
 
 calibration = hico.createGroup("Calibration")
 

Detailed Description

Created on Nov 19, 2015

@author: rhealy

Function Documentation

◆ proc_hico()

def hico.proc_hico.proc_hico (   ifile,
  earth_orient_file,
  leap_sec_file,
  boresight,
  nc_grp,
  calib_grp 
)

Definition at line 9 of file proc_hico.py.

Variable Documentation

◆ args

args = parser.parse_args('-ifile iss.2013067.0308.063527.L0.12933.20130308205743.hico_pos_vel_quat.csv -efile /home/rhealy/ocsswn/run/var/hico/finals.data -lfile /home/rhealy/ocsswn/run/var/modis/leapsec.dat -boresight -0.9957 0.0268 -0.0128'.split())

Definition at line 225 of file proc_hico.py.

◆ boresight

boresight = args.boresight

Definition at line 230 of file proc_hico.py.

◆ calibration

calibration = hico.createGroup("Calibration")

Definition at line 272 of file proc_hico.py.

◆ default

default

Definition at line 223 of file proc_hico.py.

◆ earth_orient_file

string earth_orient_file = ''.join(args.efile)

Definition at line 228 of file proc_hico.py.

◆ float

float

Definition at line 223 of file proc_hico.py.

◆ help

help

Definition at line 220 of file proc_hico.py.

◆ hico

hico = metadata.createGroup("HICO")

Definition at line 271 of file proc_hico.py.

◆ ifile

string ifile = ''.join(args.ifile)

Definition at line 227 of file proc_hico.py.

◆ lat

lat = navigation.createVariable('latitude','f4',('scan_lines','samples',))

Definition at line 244 of file proc_hico.py.

◆ leap_sec_file

string leap_sec_file = ''.join(args.lfile)

Definition at line 229 of file proc_hico.py.

◆ lon

lon = navigation.createVariable('longitude','f4',('scan_lines','samples',))

Definition at line 243 of file proc_hico.py.

◆ long_name

long_name

Definition at line 248 of file proc_hico.py.

◆ metadata

metadata = rootgrp.createGroup("metadata")

Definition at line 270 of file proc_hico.py.

◆ nargs

nargs

Definition at line 220 of file proc_hico.py.

◆ navigation

navigation = rootgrp.createGroup("navigation")

Definition at line 237 of file proc_hico.py.

◆ parser

parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter, description=, add_help=True)

Definition at line 216 of file proc_hico.py.

◆ rootgrp

rootgrp = Dataset('test_hico.nc','w')

Definition at line 231 of file proc_hico.py.

◆ sena

sena = navigation.createVariable('sensor_azimuth','f4',('scan_lines','samples',))

Definition at line 241 of file proc_hico.py.

◆ senz

senz = navigation.createVariable('sensor_zenith','f4',('scan_lines','samples',))

Definition at line 239 of file proc_hico.py.

◆ sola

sola = navigation.createVariable('solar_azimuth','f4',('scan_lines','samples',))

Definition at line 242 of file proc_hico.py.

◆ solz

solz = navigation.createVariable('solar_zenith','f4',('scan_lines','samples',))

Definition at line 240 of file proc_hico.py.

◆ str

str

Definition at line 220 of file proc_hico.py.

◆ type

type

Definition at line 220 of file proc_hico.py.

◆ units

units

Definition at line 245 of file proc_hico.py.

◆ valid_max

valid_max

Definition at line 247 of file proc_hico.py.

◆ valid_min

valid_min

Definition at line 246 of file proc_hico.py.