#!/bin/ksh

# This is the main IASI processing script.

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/data/starfs1/libs/netcdf-4.2/lib:/data/starfs1/libs/hdf5-1.8.7/lib

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}

#===================================================================================
# MetOp-A

# First, run the IASI ftp script which will transfer all
# of the IASI files on the DDS server from yesterday that
# have not already been transfered.

perl /data/data065/nprovs/scripts/data_input/ftp_iasi.perl 1
#perl /data/data065/nprovs/scripts/data_input/ftp_iasi_metopa.perl 1


# Run the script that copies all of the IASI granules into
# a one-day IASI Daily Data File (IDDF).

#perl /data/data065/nprovs/scripts/data_input/process_iasi_granules.perl

perl /data/data065/nprovs/scripts/data_input/process_iasi_version2.perl




#===================================================================================
# MetOp-B

# First, run the IASI ftp script which will transfer all
# of the IASI files on the DDS server from yesterday that
# have not already been transfered.

perl /data/data065/nprovs/scripts/data_input/ftp_iasi_metopb.perl 1


# Run the script that copies all of the IASI granules into
# a one-day IASI Daily Data File (IDDF).

perl /data/data065/nprovs/scripts/data_input/process_iasi_metopb_version2.perl



#===================================================================================
# Create ODS files from the IDDFs

/data/data065/nprovs/scripts/graphics/run_iasi_ods_capture

# end of file
