COPE installation and usage

1 post / 0 new
mhess
mhess's picture
Offline
Last seen: 10 months 1 week ago
Joined: 03.11.2008 - 22:34
COPE installation and usage

Installation:

Copy the downloaded file COPE20.tar.gz in a new directory, unzip and untarit:

> gzip -d COPE20.tar.gz
> tar -xvf COPE20.tar

Now, you will see two new subdirectories: data and results. The main directory COPE20 contains the program cope.f and all other files necessary for running it. data contains the scattering matrices of 8 columnar ice crystals for 5 wavelengths and 3 maximum tilt angles. In results, the output of the program cope.f will be stored.

The Fortran code can easily be compiled by something like:

>gfortran cope.f -o cope


Usage:

Once started, the program asks several questions. This dialog is shown here:

COPE.F Input dialog
  • First, the desired wavelength must be given. Here, the wavelengths are shown for the selection, which the program found in cope.cfg:
    please select wavelength:   
    ( 1) 0535 nm
    ( 2) 0550 nm
    ( 3) 0659 nm
    ( 4) 0865 nm
    ( 5) 1600
    ( 6) 3700 nm ?
  • The next question is about the tilt angle:
    please select tilt angle:       
    ( 1) 00
    ( 2) 01
    ( 3) 30
    ( 4) 90
  • Now, the desired type of size distribution must be given:
    please decide which kind of size distribution you want to use:    
    (1) Heymsfield and Platt (1984)
    (2) Liou (1989)
    (3) own number densities
    (4) read number densities from file "numin"   ?
    • (1) Heymsfield and Platt (1984)

      Here, one of 8 temperature dependent size distributions may beselected (the temperatures are in °C):

      please select size distribution:
      (1): -20 to -25
      (2): -25 to -30
      (3): -30 to -35
      (4): -35 to -40
      (5): -40 to -45
      (6): -45 to -50
      (7): -50 to -55
      (8): -55 to -60 ?

      These size distributions are restricted to sizes larger than 20µm. Thus, the size intervals B and A are notused.

    • (2) Liou (1989)

      This is a parametrization of the above mentioned 8 size distributionswith respect to cloud temperature. The desired temperature must begiven:

      please enter temperature between -20 and -60 C ?
    • (3) own number densities

      Here, you can enter interactively your own number densities for all 8intervals.

    • (4) read number densities from file "numin"

      Same as above, but you enter the number densities in the file numin.


The results of the program are stored in the directory results. The last question asks for the name of the outputfiles:

Please enter name of outputfile without path and extension (max. 10  char.)

This produces an output file, for instance results/test.cs.