def writeCloudsatAvhrrMatchObj(filename,cl_obj, avhrr_obj_name = 'pps'):    
    groups = {'cloudsat': cl_obj.cloudsat.all_arrays,
              'modis_lvl2': cl_obj.modis.all_arrays,
              avhrr_obj_name: cl_obj.avhrr.all_arrays}
    write_match_objects(filename, cl_obj.diff_sec_1970, groups)    
    status = 1
    return status
def writeIssAvhrrMatchObj(filename,iss_obj, avhrr_obj_name = 'pps'):
    groups = {'iss': iss_obj.iss.all_arrays,
              'modis_lvl2': iss_obj.modis.all_arrays,
              avhrr_obj_name: iss_obj.avhrr.all_arrays}
    write_match_objects(filename, iss_obj.diff_sec_1970, groups)    
    status = 1
    return status
Exemple #3
0
def writeCloudsatAvhrrMatchObj(filename, cl_obj):
    from common import write_match_objects
    groups = {
        'cloudsat': cl_obj.cloudsat.all_arrays,
        'avhrr': cl_obj.avhrr.all_arrays
    }
    write_match_objects(filename, cl_obj.diff_sec_1970, groups)

    status = 1
    return status
def writeCaliopAvhrrMatchObj(filename, ca_obj, avhrr_obj_name = 'pps'):
    """
    Write *ca_obj* to *filename*.    
    """
    groups = {'calipso': ca_obj.calipso.all_arrays,
              'calipso_aerosol': ca_obj.calipso_aerosol.all_arrays,
              avhrr_obj_name: ca_obj.avhrr.all_arrays,
              'modis_lvl2': ca_obj.modis.all_arrays }
    write_match_objects(filename, ca_obj.diff_sec_1970, groups)    
    status = 1
    return status