CERES Raw Codes - sorensonb/Arctic_codes GitHub Wiki

CERES SSF Data Codes

These codes are for processing, analyzing, and plotting CERES raw SSF single-swath data. Directory:

Data Processing Codes

  • ceres_auto_processor.c
    • ceres_auto_processor reads in the raw SSF Terra CERES data files and calculates monthly 1x1 degree gridded averages of SWF and LWF. The executable requires a year and a month as arguments.
    • Is compiled using Make_ceres_all_terra
  • ceres_auto_processor_daily.c
    • Generates daily averages of the Terra CERES data.
  • ceres_auto_aqua_processor.c
    • The same as ceres_auto_processor, but generates the gridded averages for the Aqua CERES data.
    • Is compiled using Make_ceres_all_aqua

Scripts

  • process_CERES.py
    • Script to automate the executables generated by the makefiles.

Makefiles

  • Make_ceres_all_terra
    • Compiles ceres_auto_processor.c and ceres_auto_processor_daily.c
  • Make_ceres_all_aqua
    • Compiles ceres_auto_aqua_processor.c and ceres_auto_aqua_processor_daily.c

CERESLib.py

  • Functions
    • onclick_swf
      • Discussion
    • onclick_lwf
      • Discussion
    • readCERES_NewGridRaw
      • SYNTAX: CERES_dict = readCERES_NewGridRaw(start_date,end_date,minlat=30.,dtype='all')
        • start_date: beginning of analysis window (ex: '200101')
        • end_date: ending of analysis window (ex: '201512')
        • minlat: lowest latitude to read data from. Data between minlat and 90 N are read into the dictionary.
        • dtype: data type. If 'all', all-sky SWF and LWF data are read in. If 'clear', clear-sky SWF and LWF data are read in.
      • Read the gridded CERES EBAF data.
    • writeCERES_NewGrid
      • SYNTAX: writeCERES_NewGrid(CERES_dict)
        • CERES_dict: the data dictionary returned from readCERES_NewGridRaw
    • readCERES
      • SYNTAX: readCERES(start_date,end_date,lowest_lat,dtype='terra',threshold=False,lat_fix=True,albedo=False,clr=False)

UNFINISHED. NEED MORE DOCUMENTATION ON CERESLIB


Return to top

Return Home