]> Pileus Git - ~andy/rsl/commitdiff
Cleanup directory structure
authorAndy Spencer <andy753421@gmail.com>
Wed, 8 Jun 2011 14:37:36 +0000 (14:37 +0000)
committerAndy Spencer <andy753421@gmail.com>
Wed, 8 Jun 2011 14:39:20 +0000 (14:39 +0000)
107 files changed:
configure.ac [moved from configure.in with 100% similarity]
data/colors/Makefile.am [moved from colors/Makefile.am with 100% similarity]
data/colors/blu_dz.clr [moved from colors/blu_dz.clr with 100% similarity]
data/colors/blu_height.clr [moved from colors/blu_height.clr with 100% similarity]
data/colors/blu_hh.clr [moved from colors/blu_hh.clr with 100% similarity]
data/colors/blu_rainfall.clr [moved from colors/blu_rainfall.clr with 100% similarity]
data/colors/blu_reflectivity.clr [moved from colors/blu_reflectivity.clr with 100% similarity]
data/colors/blu_reflectivity1.clr [moved from colors/blu_reflectivity1.clr with 100% similarity]
data/colors/blu_spectral_width.clr [moved from colors/blu_spectral_width.clr with 100% similarity]
data/colors/blu_sw.clr [moved from colors/blu_sw.clr with 100% similarity]
data/colors/blu_velocity.clr [moved from colors/blu_velocity.clr with 100% similarity]
data/colors/blu_vr.clr [moved from colors/blu_vr.clr with 100% similarity]
data/colors/blu_zdr.clr [moved from colors/blu_zdr.clr with 100% similarity]
data/colors/grn_dz.clr [moved from colors/grn_dz.clr with 100% similarity]
data/colors/grn_height.clr [moved from colors/grn_height.clr with 100% similarity]
data/colors/grn_hh.clr [moved from colors/grn_hh.clr with 100% similarity]
data/colors/grn_rainfall.clr [moved from colors/grn_rainfall.clr with 100% similarity]
data/colors/grn_reflectivity.clr [moved from colors/grn_reflectivity.clr with 100% similarity]
data/colors/grn_reflectivity1.clr [moved from colors/grn_reflectivity1.clr with 100% similarity]
data/colors/grn_spectral_width.clr [moved from colors/grn_spectral_width.clr with 100% similarity]
data/colors/grn_sw.clr [moved from colors/grn_sw.clr with 100% similarity]
data/colors/grn_velocity.clr [moved from colors/grn_velocity.clr with 100% similarity]
data/colors/grn_vr.clr [moved from colors/grn_vr.clr with 100% similarity]
data/colors/grn_zdr.clr [moved from colors/grn_zdr.clr with 100% similarity]
data/colors/red_dz.clr [moved from colors/red_dz.clr with 100% similarity]
data/colors/red_height.clr [moved from colors/red_height.clr with 100% similarity]
data/colors/red_hh.clr [moved from colors/red_hh.clr with 100% similarity]
data/colors/red_rainfall.clr [moved from colors/red_rainfall.clr with 100% similarity]
data/colors/red_reflectivity.clr [moved from colors/red_reflectivity.clr with 100% similarity]
data/colors/red_reflectivity1.clr [moved from colors/red_reflectivity1.clr with 100% similarity]
data/colors/red_spectral_width.clr [moved from colors/red_spectral_width.clr with 100% similarity]
data/colors/red_sw.clr [moved from colors/red_sw.clr with 100% similarity]
data/colors/red_velocity.clr [moved from colors/red_velocity.clr with 100% similarity]
data/colors/red_vr.clr [moved from colors/red_vr.clr with 100% similarity]
data/colors/red_zdr.clr [moved from colors/red_zdr.clr with 100% similarity]
data/wsr88d_locations.dat [moved from wsr88d_locations.dat with 100% similarity]
gen-win32.sh [new file with mode: 0755]
gen.sh [new file with mode: 0755]
mkinstalldirs [deleted file]
rapic-lex.l [deleted file]
rapic.y [deleted file]
src/Makefile.am [new file with mode: 0644]
src/africa.c [moved from africa.c with 100% similarity]
src/africa.h [moved from africa.h with 100% similarity]
src/africa_to_radar.c [moved from africa_to_radar.c with 100% similarity]
src/anyformat_to_radar.c [moved from anyformat_to_radar.c with 100% similarity]
src/cappi.c [moved from cappi.c with 100% similarity]
src/carpi.c [moved from carpi.c with 100% similarity]
src/cube.c [moved from cube.c with 100% similarity]
src/dorade.c [moved from dorade.c with 100% similarity]
src/dorade.h [moved from dorade.h with 100% similarity]
src/dorade_print.c [moved from dorade_print.c with 100% similarity]
src/dorade_to_radar.c [moved from dorade_to_radar.c with 100% similarity]
src/edge_to_radar.c [moved from edge_to_radar.c with 100% similarity]
src/endian.c [moved from endian.c with 100% similarity]
src/farea.c [moved from farea.c with 100% similarity]
src/fix_headers.c [moved from fix_headers.c with 100% similarity]
src/fraction.c [moved from fraction.c with 100% similarity]
src/get_win.c [moved from get_win.c with 100% similarity]
src/gts.c [moved from gts.c with 100% similarity]
src/gzip.c [moved from gzip.c with 100% similarity]
src/hdf_to_radar.c [moved from hdf_to_radar.c with 100% similarity]
src/histogram.c [moved from histogram.c with 100% similarity]
src/image_gen.c [moved from image_gen.c with 100% similarity]
src/interp.c [moved from interp.c with 100% similarity]
src/lassen.c [moved from lassen.c with 100% similarity]
src/lassen.h [moved from lassen.h with 100% similarity]
src/lassen_to_radar.c [moved from lassen_to_radar.c with 100% similarity]
src/mcgill.c [moved from mcgill.c with 100% similarity]
src/mcgill.h [moved from mcgill.h with 100% similarity]
src/mcgill_to_radar.c [moved from mcgill_to_radar.c with 100% similarity]
src/nsig.c [moved from nsig.c with 100% similarity]
src/nsig.h [moved from nsig.h with 100% similarity]
src/nsig2_to_radar.c [moved from nsig2_to_radar.c with 100% similarity]
src/nsig_to_radar.c [moved from nsig_to_radar.c with 100% similarity]
src/prune.c [moved from prune.c with 100% similarity]
src/radar.c [moved from radar.c with 100% similarity]
src/radar_to_hdf_1.c [moved from radar_to_hdf_1.c with 100% similarity]
src/radar_to_hdf_2.c [moved from radar_to_hdf_2.c with 100% similarity]
src/radar_to_uf.c [moved from radar_to_uf.c with 100% similarity]
src/radtec.c [moved from radtec.c with 100% similarity]
src/radtec.h [moved from radtec.h with 100% similarity]
src/radtec_to_radar.c [moved from radtec_to_radar.c with 100% similarity]
src/rainbow.c [moved from rainbow.c with 100% similarity]
src/rainbow.h [moved from rainbow.h with 100% similarity]
src/rainbow_to_radar.c [moved from rainbow_to_radar.c with 100% similarity]
src/range.c [moved from range.c with 100% similarity]
src/rapic_routines.c [moved from rapic_routines.c with 100% similarity]
src/rapic_routines.h [moved from rapic_routines.h with 100% similarity]
src/rapic_to_radar.c [moved from rapic_to_radar.c with 100% similarity]
src/ray_indexes.c [moved from ray_indexes.c with 100% similarity]
src/read_write.c [moved from read_write.c with 100% similarity]
src/reverse.c [moved from reverse.c with 100% similarity]
src/rsl.h [moved from rsl.h with 100% similarity]
src/sort_rays.c [moved from sort_rays.c with 100% similarity]
src/toga.c [moved from toga.c with 100% similarity]
src/toga.h [moved from toga.h with 100% similarity]
src/toga_to_radar.c [moved from toga_to_radar.c with 100% similarity]
src/toolkit_1BC-51_appl.h [moved from toolkit_1BC-51_appl.h with 100% similarity]
src/toolkit_memory_mgt.c [moved from toolkit_memory_mgt.c with 100% similarity]
src/uf_to_radar.c [moved from uf_to_radar.c with 100% similarity]
src/volume.c [moved from volume.c with 100% similarity]
src/wsr88d.c [moved from wsr88d.c with 100% similarity]
src/wsr88d.h [moved from wsr88d.h with 100% similarity]
src/wsr88d_get_site.c [moved from wsr88d_get_site.c with 100% similarity]
src/wsr88d_m31.c [moved from wsr88d_m31.c with 100% similarity]
src/wsr88d_to_radar.c [moved from wsr88d_to_radar.c with 100% similarity]

similarity index 100%
rename from configure.in
rename to configure.ac
similarity index 100%
rename from colors/Makefile.am
rename to data/colors/Makefile.am
similarity index 100%
rename from colors/blu_dz.clr
rename to data/colors/blu_dz.clr
similarity index 100%
rename from colors/blu_hh.clr
rename to data/colors/blu_hh.clr
similarity index 100%
rename from colors/blu_sw.clr
rename to data/colors/blu_sw.clr
similarity index 100%
rename from colors/blu_vr.clr
rename to data/colors/blu_vr.clr
similarity index 100%
rename from colors/blu_zdr.clr
rename to data/colors/blu_zdr.clr
similarity index 100%
rename from colors/grn_dz.clr
rename to data/colors/grn_dz.clr
similarity index 100%
rename from colors/grn_hh.clr
rename to data/colors/grn_hh.clr
similarity index 100%
rename from colors/grn_sw.clr
rename to data/colors/grn_sw.clr
similarity index 100%
rename from colors/grn_vr.clr
rename to data/colors/grn_vr.clr
similarity index 100%
rename from colors/grn_zdr.clr
rename to data/colors/grn_zdr.clr
similarity index 100%
rename from colors/red_dz.clr
rename to data/colors/red_dz.clr
similarity index 100%
rename from colors/red_hh.clr
rename to data/colors/red_hh.clr
similarity index 100%
rename from colors/red_sw.clr
rename to data/colors/red_sw.clr
similarity index 100%
rename from colors/red_vr.clr
rename to data/colors/red_vr.clr
similarity index 100%
rename from colors/red_zdr.clr
rename to data/colors/red_zdr.clr
diff --git a/gen-win32.sh b/gen-win32.sh
new file mode 100755 (executable)
index 0000000..dc69c84
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+./autogen.sh \
+       --enable-shared \
+       --disable-static \
+       --host=i686-pc-mingw32 \
+       --prefix=/ \
+       CFLAGS="-g -Wall -Wno-unused -O3"
diff --git a/gen.sh b/gen.sh
new file mode 100755 (executable)
index 0000000..1452bec
--- /dev/null
+++ b/gen.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+./autogen.sh \
+       --enable-shared \
+       --disable-static \
+       CFLAGS="-g -Wall -Wno-unused -O3"
diff --git a/mkinstalldirs b/mkinstalldirs
deleted file mode 100755 (executable)
index 4191a45..0000000
+++ /dev/null
@@ -1,162 +0,0 @@
-#! /bin/sh
-# mkinstalldirs --- make directory hierarchy
-
-scriptversion=2009-04-28.21; # UTC
-
-# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
-# Created: 1993-05-16
-# Public domain.
-#
-# This file is maintained in Automake, please report
-# bugs to <bug-automake@gnu.org> or send patches to
-# <automake-patches@gnu.org>.
-
-nl='
-'
-IFS=" ""       $nl"
-errstatus=0
-dirmode=
-
-usage="\
-Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
-
-Create each directory DIR (with mode MODE, if specified), including all
-leading file name components.
-
-Report bugs to <bug-automake@gnu.org>."
-
-# process command line arguments
-while test $# -gt 0 ; do
-  case $1 in
-    -h | --help | --h*)         # -h for help
-      echo "$usage"
-      exit $?
-      ;;
-    -m)                         # -m PERM arg
-      shift
-      test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
-      dirmode=$1
-      shift
-      ;;
-    --version)
-      echo "$0 $scriptversion"
-      exit $?
-      ;;
-    --)                         # stop option processing
-      shift
-      break
-      ;;
-    -*)                         # unknown option
-      echo "$usage" 1>&2
-      exit 1
-      ;;
-    *)                          # first non-opt arg
-      break
-      ;;
-  esac
-done
-
-for file
-do
-  if test -d "$file"; then
-    shift
-  else
-    break
-  fi
-done
-
-case $# in
-  0) exit 0 ;;
-esac
-
-# Solaris 8's mkdir -p isn't thread-safe.  If you mkdir -p a/b and
-# mkdir -p a/c at the same time, both will detect that a is missing,
-# one will create a, then the other will try to create a and die with
-# a "File exists" error.  This is a problem when calling mkinstalldirs
-# from a parallel make.  We use --version in the probe to restrict
-# ourselves to GNU mkdir, which is thread-safe.
-case $dirmode in
-  '')
-    if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
-      echo "mkdir -p -- $*"
-      exec mkdir -p -- "$@"
-    else
-      # On NextStep and OpenStep, the `mkdir' command does not
-      # recognize any option.  It will interpret all options as
-      # directories to create, and then abort because `.' already
-      # exists.
-      test -d ./-p && rmdir ./-p
-      test -d ./--version && rmdir ./--version
-    fi
-    ;;
-  *)
-    if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
-       test ! -d ./--version; then
-      echo "mkdir -m $dirmode -p -- $*"
-      exec mkdir -m "$dirmode" -p -- "$@"
-    else
-      # Clean up after NextStep and OpenStep mkdir.
-      for d in ./-m ./-p ./--version "./$dirmode";
-      do
-        test -d $d && rmdir $d
-      done
-    fi
-    ;;
-esac
-
-for file
-do
-  case $file in
-    /*) pathcomp=/ ;;
-    *)  pathcomp= ;;
-  esac
-  oIFS=$IFS
-  IFS=/
-  set fnord $file
-  shift
-  IFS=$oIFS
-
-  for d
-  do
-    test "x$d" = x && continue
-
-    pathcomp=$pathcomp$d
-    case $pathcomp in
-      -*) pathcomp=./$pathcomp ;;
-    esac
-
-    if test ! -d "$pathcomp"; then
-      echo "mkdir $pathcomp"
-
-      mkdir "$pathcomp" || lasterr=$?
-
-      if test ! -d "$pathcomp"; then
-       errstatus=$lasterr
-      else
-       if test ! -z "$dirmode"; then
-         echo "chmod $dirmode $pathcomp"
-         lasterr=
-         chmod "$dirmode" "$pathcomp" || lasterr=$?
-
-         if test ! -z "$lasterr"; then
-           errstatus=$lasterr
-         fi
-       fi
-      fi
-    fi
-
-    pathcomp=$pathcomp/
-  done
-done
-
-exit $errstatus
-
-# Local Variables:
-# mode: shell-script
-# sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
-# End:
diff --git a/rapic-lex.l b/rapic-lex.l
deleted file mode 100644 (file)
index 280d2cd..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-/*
-    NASA/TRMM, Code 910.1.
-    This is the TRMM Office Radar Software Library.
-    Copyright (C) 1996, 1997, 1998
-            John H. Merritt
-            Space Applications Corporation
-            Vienna, Virginia
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public
-    License along with this library; if not, write to the Free
-    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
-/*
- * 2/18/98 - John Merritt
- */
-%{
-
-#include <stdio.h>
-#include "rapic_routines.h"
-#include "rapic.h"
-#include <string.h>
-
-/*
-     fprintf(stderr, "LEX len=%d text=<", yyleng);\
-     binprint(yytext, yyleng);\
-     fprintf(stderr, ">  token=[%d]\n", x);\
-*/
-#define strreturn(x) rapiclval.token.s = calloc(yyleng+1, sizeof(char));\
-                     rapiclval.token.len=yyleng;\
-                     memcpy(rapiclval.token.s, yytext, yyleng);\
-                     return x;
-
-%}
-
-
-%x ATMODE
-
-%%
-
-\/IMAGE:          {strreturn(IMAGE);}
-\/IMAGEEND:       {strreturn(IMAGEEND);}
-\/IMAGESCANS:     {strreturn(IMAGESCANS);}
-\/IMAGESIZE:      {strreturn(IMAGESIZE);}
-\/SCAN            {strreturn(SCAN);}
-"\/IMAGEHEADER END:"     {strreturn(IMAGEHEADEREND);}
-COUNTRY:          {strreturn(COUNTRY);}
-NAME:             {strreturn(NAME);}
-STNID:            {strreturn(STNID);}
-LATITUDE:         {strreturn(LATITUDE);}
-LONGITUDE:        {strreturn(LONGITUDE);}
-HEIGHT:           {strreturn(HEIGHT);}
-DATE:             {strreturn(DATE);}
-TIME:             {strreturn(TIME);}
-TIMESTAMP:        {strreturn(TIMESTAMP);}
-VERS:             {strreturn(VERS);}
-FREQUENCY:        {strreturn(FREQUENCY);}
-PRF:              {strreturn(PRF);}
-PULSELENGTH:      {strreturn(PULSELENGTH);}
-RNGRES:           {strreturn(RNGRES);}
-ANGRES:           {strreturn(ANGRES);}
-ANGLERATE:        {strreturn(ANGLERATE);}
-CLEARAIR:         {strreturn(CLEARAIR);}
-VIDRES:           {strreturn(VIDRES);}
-STARTRNG:         {strreturn(STARTRNG);}
-ENDRNG:           {strreturn(ENDRNG);}
-PRODUCT:          {strreturn(PRODUCT);}
-PASS:             {strreturn(PASS);}
-IMGFMT:           {strreturn(IMGFMT);}
-ELEV:             {strreturn(ELEV);}
-VIDEO:            {strreturn(VIDEO);}
-VELLVL:           {strreturn(VELLVL);}
-NYQUIST:          {strreturn(NYQUIST);}
-UNFOLDING:        {strreturn(UNFOLDING);}
-VOLUMETRIC        {strreturn(VOLUMETRIC);}
-NORMAL            {strreturn(NORMAL);}
-[Nn][Oo][Nn][Ee]  {strreturn(NONE);}
-[Oo][Ff]          {strreturn(OF);}
-[Oo][Nn]          {strreturn(ON);}
-[Oo][Ff][Ff]      {strreturn(OFF);}
-[Rr][Ee][Ff][Ll]  {strreturn(REFL);}
-[Vv][Ee][Ll]      {strreturn(VEL);}
-[Uu][Nn][Cc][Oo][Rr][Rr][Ee][Ff][Ll]  {strreturn(UNCORREFL);}
-[Zz][Dd][Rr]      {strreturn(ZDR);}
-[Ww][Ii][Dd] |
-[Ww][Ii][Dd][Tt][Hh]   {strreturn(WID);}
-
--?[[:digit:]]+       {strreturn(NUMBER);}
--?[[:digit:]]*[\.][[:digit:]]+ |
--?[[:digit:]]+[\.][[:digit:]]*  {strreturn(FLOATNUMBER);}
-[[][[:digit:]]+[]] {strreturn(BRACKETNUM);}
-
-[[:alpha:]]+       {strreturn(ALPHA);}
-
-"END RADAR IMAGE"  {strreturn(ENDRADARIMAGE);}
-
-
-
-"@" {BEGIN ATMODE; yymore();}
-<ATMODE>. |
-<ATMODE>\n      {yymore();}
-<ATMODE>"\0\0@"  |
-<ATMODE>"\0\0\x1a" {BEGIN INITIAL; yyless(yyleng-1); strreturn(RAYDATA);}
-
-:  {return(yytext[0]);}
-
-. ; /* Ignore. */
-"\n" ; /* Ignore. */
-
-%%
diff --git a/rapic.y b/rapic.y
deleted file mode 100644 (file)
index b104757..0000000
--- a/rapic.y
+++ /dev/null
@@ -1,624 +0,0 @@
-/*
-    NASA/TRMM, Code 910.1.
-    This is the TRMM Office Radar Software Library.
-    Copyright (C) 1998
-            John H. Merritt
-            Space Applications Corporation
-            Vienna, Virginia
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Library General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This library is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Library General Public License for more details.
-
-    You should have received a copy of the GNU Library General Public
-    License along with this library; if not, write to the Free
-    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
-%{
-#define USE_RSL_VARS
-#include "rapic_routines.h"
-#include "rsl.h"
-#include <stdlib.h>
-#include <math.h>
-#include <string.h>
-
-int rapicerror(char *s);
-int rapicwrap(char *s);
-int rapicwrap(char *s);
-int yywrap(char *s);
-int rapiclex(void);
-
-int nsweep = 0;
-float angres;
-Radar *radar, *rapic_radar = NULL;
-Volume *volume;
-Sweep *sweep;
-Ray *ray;
-
-/* Rapic format declarations. */
-Rapic_sweep_header rh;
-Rapic_sweep *rs;
-
-unsigned char outbuf[2000000];
-int outbytes;
-float azim, elev;
-float save_elev;
-int delta_time;
-int nray = 0;
-int ifield;
-int ivolume, isweep, iray;
-int station_id;
-
-int sweepcount[5];
-
-extern int radar_verbose_flag;
-float rapic_nyquist;
-  %}
-
-/* 2/18/98 - John Merritt
- *
- * This grammar parses the NT Rapic radar format.  The grammar
- * is not minimal, however, it is self documenting; it closely matches
- * the brief documentation.
- */
-
-/*-----------------------------------------------------------------
- * NT Rapic Volume Structure:
- * NOTE:   '*' marked tokens are preent only in versions > 10.0
- * 
- *  ImageHeader:
- *     The header contains a set of tokens followed by data.
- *     Each token is seperated by '\n' and all the data is
- *     in ascii.
- *  ScanHeader:
- *         Scan header has the scan details like fieldname,
- *     date/time azimuth,elevation etc.
- *     The different sets of Tokens together with the data
- *     are seperate by '\0'.
- *   ScanData:
- *         This represents the field data in runlehgth code.
- *     Each Ray data contains azimuth,elevation,delta time
- *     since start of this scan and the actual data.
- *     
- *     Here is a brief explanation of each of the Tokens.
- *     
- * 
- * ImageHeader:
- * 
- * 1   /IMAGE:         <seqno> <imgno>
- *     <seqno>         4 digit number
- *     <imgno>         10 digit number
- *     
- * 2   /IMAGESCANS:    <nscans>
- *     <nscans>        Number of scans in this volume
- *             
- * 3   /IMAGESIZE:     <size>
- *     <size>          Size of image in bytes
- * 
- * 4   /SCAN       <scanno:> <seqno> <datetime> <???> <elev> <fieldno> <???> <offset> <size>
- *     <scanno:>   1 - <number of scans> 
- *     <seqno>     seqnum as given in /IMAGE:
- *     <datetime>  yymoddhhmm
- *     <???>       Don't care ( I don't know )
- *     <elev>      Target Elevation in degrees.
- *     <fieldno>   0-4 
- *          0 Reflectivity     ?? Index? haven't seen this yet. ??
- *                 1 Velocity         Confirmed this index.
- *                 2 Width            Confirmed.
- *             3 ZDR              ?? Index? haven't seen this yet. ??
- *                 4 Uncorrected Reflectivity. Confirmed.
- *     <???>       Don't care
- *     <offset>    Offset to start of scan header
- *     <size>      Size of this scan
- *                 add offset to size to get to the next scan
- *     /SCAN is repeated for each scan in the volume.
- *     NOTE:
- *     Unlike other formats each scan need not represent a seperate
- *     elevation.
- *     
- * 5   /IMAGEHEADER END:
- *     Indicates the end of Image header.
- * 
- *  ScanHeader:
- * 
- *     COUNTRY:        <code>
- *     <code>          is a country code number
- *     
- *     NAME:           <Name>
- *     <Name>          8 char long station name
- *     
- *     STNID:          <idno>
- *     <idno>          A unique number indexing into station details
- *     
- *     LATITUDE:       <lat.lat>               *
- *     <lat.lat>       Latitude in degrees     
- *     
- *     LONGITUDE:      <lon.lon>               *
- *     <lon.lon>       Longitude in degrees
- *     
- *     HEIGHT:         <alt>                   *
- *     <alt>           Radar height in meters
- *     
- *     DATE:           <datno>
- *     <datno>         year = datno % 100
- *                     if year > 80 year += 1900
- *                     else year += 2000
- *                     doy  = datno / 100
- *                     Get the julian Number from year,1,1 and add doy -1
- *                     Use Julian date conversion to get calendar date.
- *                     NOTE: As simple as remembering your partner's DOB.
- *                     
- *     TIME:           <hh.mm>
- *     <hh.mm>         Hour and minute
- *     
- *     TIMESTAMP:      <yyyymoddhhmmss>        *
- *     <yyyymoddhhmmss> year,month,day,hour,min,sec
- *     
- *     VERS:           <versionNumber>
- *     <versionNumber> 10.01
- *     
- *     FREQUENCY:      <freq>                  *
- *     <freq>          Radar Frequency.
- *     
- *     PRF:            <prf>
- *     <prf>           Pulse repetition Frequency
- *     
- *     PULSELENGTH:    <len>                   *
- *     <len>           Pulse length
- *     
- *     RNGRES:         <gatewidth>
- *     <gatewidth>     Range between gates
- *     
- *     ANGRES:         <angle>
- *     <angle>         BeamWidth in degrees.
- *
- *     CLEARAIR:               ON or OFF
- *     
- *     VIDRES:         <res>
- *     <res>           Video Resolution can be 
- *                     16 OR 256.
- *                     
- *     STARTRNG:       <rng>
- *     <rng>           Range to First gate in meters.
- *     
- *     ENDRNG:         <rng>
- *     <rng>           Maximum range.
- *     
- *     PRODUCT:        <type> <[id]>
- *     <type>          Ascii text
- *                     VOLUMETRIC
- *                     NORMAL
- *                     
- *     <[id]>          <id number>
- *     
- *     PASS:           <no> of <nscans>
- *     <no>            Number of this scan
- *     <nscans>        Max scan no.
- *     
- *     IMGFMT:         <type>
- *     <type>          PPI,RHI etc.
- *     
- *     ELEV:           <elev>
- *     <elev>          Elevation in degrees
- *     
- *     VIDEO:          <field>
- *     <field>         Field Name Vel,Refl,Vel,UnCorRefl,Zdr,Wid
- *     
- *     VELLVL:         <level>
- *     <level>         Velocity Level 
- *     
- *     NYQUIST:        <nyq>
- *     <nyq>           Nyquist Velocity
- *     
- *     UNFOLDING:      <ratio>                 *
- *     <ratio>         None or x:y
- *     
- * 
- *     @               <data>                  *
- *     <data>          AAA.A,EEE.E,TTT=LEN16D1D1D1NLD1D1D1NLNL
- *     
- *     AAA.A           Azimuth in degrees
- *     EEE.E           Elevation in degress
- *     TTT             Delta time in seconds since the start of this scan
- *     LEN16           2 byte long length of radial
- *     
- *     D1              Run length coded Data.
- *     NL              Null The Next Byte is count of NULL data.
- *     NLNL            End of this Radial
- * 
- *         eg.         There will be no white space in the actual radial data.
- *                             
- *                     @066.1,010.6,004=002082B2817F8C84830048D72D0038
- *                                      999C0036202D35FD2C00238A99008AFE920000
- *                     Azimuth = 66.1
- *                     Elev    = 10.6
- *                     Dt      = 4 sec since the start
- *                     0020    = Bytes to follow
- *                     Data    = 82,B2,81,7F,8C,84,83
- *                     0048    = 48H null bytes
- *                     Data    = D7,2D
- *                     0038    = 38H null bytes
- *                     Data    = 99,9C
- *                     0036    = 36H Null bytes
- *                     ........................
- *                     0000    = End of Data.
- *     In  versions before 10.1                        
- *     @               <data>                  
- *     <data>          AAALEN16D1D1D1NLD1D1D1NLNL
- *     
- *     AAA             Azimuth in degrees
- *     LEN16           2 byte long length of radial
- *     
- *     D1              Run length coded Data.
- *     NL              Null The Next Byte is count of NULL data.
- *     NLNL            End of this Radial
- * 
- *         eg.         There will be no white space in the actual radial data.
- *                             
- *                     @066002082B2817F8C84830048D72D0038
- *                         999C0036202D35FD2C00238A99008AFE920000
- *                     Azimuth = 66
- *                     0020    = Bytes to follow
- *                     Data    = 82,B2,81,7F,8C,84,83
- *                     0048    = 48H null bytes
- *                     Data    = D7,2D
- *                     0038    = 38H null bytes
- *                     Data    = 99,9C
- *                     0036    = 36H Null bytes
- *                     ........................
- *                     0000    = End of Data.
- *                     
- * Please see the attached sample.vol to give a overall picture of the data.
- * This is the dump of the volume with white space inserted to make it readable.
- * Radial data dump is in hex.
- */
-
-%token IMAGE IMAGESCANS IMAGESIZE IMAGEEND
-%token SCAN IMAGEHEADEREND
-%token NUMBER
-%token ALPHA
-%token FLOATNUMBER
-%token BRACKETNUM
-
-%token COUNTRY
-%token NAME
-%token STNID
-%token LATITUDE
-%token LONGITUDE
-%token HEIGHT
-%token DATE
-%token TIME
-%token TIMESTAMP
-%token VERS
-%token FREQUENCY
-%token PRF
-%token PULSELENGTH
-%token RNGRES
-%token ANGRES
-%token ANGLERATE
-%token CLEARAIR ON OFF
-%token VIDRES
-%token STARTRNG
-%token ENDRNG
-%token PRODUCT
-%token PASS
-%token IMGFMT
-%token ELEV
-%token VIDEO
-%token VELLVL
-%token NYQUIST
-%token UNFOLDING
-%token AT
-%token VOLUMETRIC
-%token NORMAL
-%token OF
-%token REFL VEL UNCORREFL ZDR WID
-%token NONE
-%token RAYDATA
-%token ENDRADARIMAGE
-
-%union {
-  Charlen token;
-}
-
-%expect 61
-
-%%
-
-rapic_recognized : complete_header sweeps imageend
-{
-  if (radar_verbose_flag) fprintf(stderr, "SUCCESSFUL parse\n");
-  sprintf(radar->h.name, "%s", rh.namestr);
-  sprintf(radar->h.radar_name, "%s", rh.namestr);
-
-  radar = fill_header(radar);
-  radar = RSL_prune_radar(radar);
-  rapic_radar = radar;
-  YYACCEPT;
-}
-
-sweeps : sweep
-       | sweeps sweep
-
-sweep  : sweepheader rays ENDRADARIMAGE
-{
-  /* Attach the sweep to the volume. */
-  if (radar_verbose_flag) fprintf(stderr, "Attach the sweep %d to the volume %d.\n",
-                 isweep, ivolume);
-  radar->v[ivolume]->sweep[isweep] = sweep;
-  radar->v[ivolume]->h.f    = sweep->h.f;
-  radar->v[ivolume]->h.invf = sweep->h.invf;
-}
-
-sweepheader : scanheader
-{
-  /*  float c =  RSL_SPEED_OF_LIGHT; */
-  if (rh.angle_resolution != 0) 
-       sweep = RSL_new_sweep((int)(360.0/rh.angle_resolution+0.5));
-  if (fabs(rh.elev - save_elev) > .5) { /* New sweep elevation. */
-       isweep++;
-       save_elev = rh.elev;
-  }
-  nray = 0;
-  /* rapic_nyquist = c*((float)rh.prf/10.)/(4.*(float)rh.freq*100000.0); */
-}
-
-imageend : IMAGEEND seqno imgno
-
-complete_header : imageheader IMAGEHEADEREND
-{
-  if (radar_verbose_flag) fprintf(stderr, "sweepcount[0] = %d\n", sweepcount[0]);
-  if (sweepcount[0] > 0) {
-       radar->v[DZ_INDEX] = RSL_new_volume(sweepcount[0]);
-       radar->v[DZ_INDEX]->h.type_str = strdup("Reflectivity");
-  }
-  if (radar_verbose_flag) fprintf(stderr, "sweepcount[1] = %d\n", sweepcount[1]);
-  if (sweepcount[1] > 0) {
-       volume = radar->v[VR_INDEX] = RSL_new_volume(sweepcount[1]);
-       volume->h.type_str = strdup("Velocity");
-       volume->h.calibr_const = 0.0;
-  }
-  if (radar_verbose_flag) fprintf(stderr, "sweepcount[2] = %d\n", sweepcount[2]);
-  if (sweepcount[2] > 0) {
-       radar->v[SW_INDEX] = RSL_new_volume(sweepcount[2]);
-       volume->h.type_str = strdup("Spectral Width");
-       volume->h.calibr_const = 0.0;
-  }
-  if (radar_verbose_flag) fprintf(stderr, "sweepcount[3] = %d\n", sweepcount[3]);
-  if (sweepcount[3] > 0) {
-       radar->v[ZD_INDEX] = RSL_new_volume(sweepcount[3]);
-       volume->h.type_str = strdup("Reflectivity Depolarization Ratio");
-       volume->h.calibr_const = 0.0;
-  }
-  if (radar_verbose_flag) fprintf(stderr, "sweepcount[4] = %d\n", sweepcount[4]);
-  if (sweepcount[4] > 0) {
-       radar->v[ZT_INDEX] = RSL_new_volume(sweepcount[4]);
-       volume->h.type_str = strdup("Total Reflectivity");
-       volume->h.calibr_const = 0.0;
-  }
-  isweep = -1; /* It keeps track of the sweep number across all field
-                * types; volumes.  It is immediately bumped to 0 when
-                * the sweepheader is parsed.
-                               */
-  save_elev = 99999;
-}
-                ;
-
-imageheader : imageheader_item
-            | imageheader imageheader_item
-            | /* Empty */
-            ;
-
-imageheader_item : IMAGE seqno imgno
-{
-  radar = RSL_new_radar(MAX_RADAR_VOLUMES);
-  sweepcount[0] = 0;
-  sweepcount[1] = 0;
-  sweepcount[2] = 0;
-  sweepcount[3] = 0;
-  sweepcount[4] = 0;
-  radar->h.number = atoi($<token.s>2);
-}
-                 | IMAGESCANS number
-                 | IMAGESIZE number
-{
-  if (atoi($<token.s>2) <= 0) {
-       fprintf(stderr, "RAPIC: /IMAGESIZE == %d.  RAPIC ingest returning NULL.\n", atoi($<token.s>2));
-       YYERROR;
-  }
-}
-                            | scanlist
-                 ;
-
-scanlist : SCAN scanno ':' seqno datetime dc elev fieldno dc offset size
-{
-  ifield = atoi($<token.s>8);
-  sweepcount[ifield]++;
-}
-
-/*
- * Now, describe some scan header fields.
- */
-
-rays      : ray
-          | rays ray
-          | /* EMPTY */
-          ;
-
-ray : RAYDATA
- {
-
-   /*   fprintf(stderr, "YACC len=%d text=<", yylval.token.len); */
-   /*   binprint(yylval.token.s, yylval.token.len); */
-   /*   fprintf(stderr, ">\n"); */
-
-   /* Quiet the compilier, because I only use the rsl_f_list and rsl_invf_list. */
-   RSL_ftype[0] = RSL_ftype[0];
-
-   /* Use yylval.token.s and yylval.token.len */
-   memset(outbuf, '\0', sizeof(outbuf));
-   rapic_decode((unsigned char *)yylval.token.s, yylval.token.len, outbuf, &outbytes,
-                               &azim, &elev, &delta_time);
-   /*   fprintf(stderr, "RAYDATA: ray %d, ivol %d, isweep %d, azim %f, elev %f, dtime %d, size=%d\n", nray, ivolume, isweep, azim, elev, delta_time, outbytes); */
-
-   ray = RSL_new_ray(outbytes);
-   rapic_load_ray_header(rh, nray, isweep, elev, azim, &ray->h); /* Mostly from the scanheader (rh). */
-   ray->h.azimuth = azim;
-   /*    if (39<azim && azim <40) { */
-   ray->h.elev = elev;
-   ray->h.sec += delta_time;
-   ray->h.f    = RSL_f_list[ivolume]; /* Data conversion function. f(x). */
-   ray->h.invf = RSL_invf_list[ivolume]; /* invf(x). */
-
-   rapic_fix_time(ray);
-   rapic_load_ray_data(outbuf, outbytes, ivolume, ray);
-#define DODO
-#undef DODO
-#ifdef DODO
-   if (ray->h.ray_num == 0 && ivolume == 1 && isweep == 0)
-        { int i;
-   fprintf(stderr, "RAYDATA: ray %d, ivol %d, isweep %d, azim %f, elev %f, dtime %d, size=%d\n", nray, ivolume, isweep, azim, elev, delta_time, outbytes);
-        for (i=0; i<ray->h.nbins; i++) {
-          fprintf(stderr,"YACCray->range[%d] = %d  %f\n", i, (int)ray->range[i],
-                          ray->h.f(ray->range[i]));
-        }
-        }
-#endif
-   /* Attach the ray to the sweep. */
-   sweep->ray[nray]      = ray;
-   sweep->h.beam_width   = ray->h.beam_width;
-   sweep->h.vert_half_bw = sweep->h.beam_width / 2.0;
-   sweep->h.horz_half_bw = sweep->h.beam_width / 2.0;
-   sweep->h.sweep_num    = isweep;
-   sweep->h.elev         = ray->h.elev;
-   sweep->h.f            = ray->h.f;
-   sweep->h.invf         = ray->h.invf;
-   nray++;
-   /*   } */
-}
-
-scanheader : scanheaditem
-           | scanheader scanheaditem
-           | /* EMPTY */
-          ;
-
-/* Each of these items are the header for a sweep. */
-
-scanheaditem
-: NAME        namestr { memmove(rh.namestr,$<token.s>2,$<token.len>2); }
-| COUNTRY     code    { rh.country       = atoi($<token.s>2); }
-| STNID                  idno    { rh.station_id_no = atoi($<token.s>2); }
-| LATITUDE       lat     { rh.lat           = atof($<token.s>2); }
-| LONGITUDE      lon     { rh.lon           = atof($<token.s>2); }
-| HEIGHT         alt     { rh.height        = atof($<token.s>2); }
-| DATE           datno   { rh.datno         = atoi($<token.s>2); }
-| TIME           hhmm    { rh.hhmm          = atof($<token.s>2); }
-| TIMESTAMP      yyyymoddhhmmss { memmove(rh.yyyymoddhhmmss,$<token.s>2,$<token.len>2); }
-| VERS           versionNumber  { rh.versionNumber    = atof($<token.s>2); }
-| FREQUENCY   freq           { rh.freq             = atoi($<token.s>2); }
-| PRF        prf            { rh.prf              = atoi($<token.s>2); }
-| PULSELENGTH len            { rh.pulselen         = atof($<token.s>2); }
-| RNGRES         gatewidth      { rh.range_resolution = atoi($<token.s>2); }
-| ANGLERATE      anglerate      { rh.anglerate        = atof($<token.s>2); }
-| CLEARAIR       clearair       { memmove(rh.clearair,$<token.s>2,$<token.len>2);}
-| ANGRES         angle          { rh.angle_resolution = atof($<token.s>2); }
-| VIDRES         res            { rh.video_resolution = atoi($<token.s>2); }
-| STARTRNG       rng            { rh.start_range      = atoi($<token.s>2); }
-| ENDRNG         rng            { rh.end_range        = atoi($<token.s>2); }
-| PRODUCT        typeid BRACKETNUM { memmove(rh.product_type,$<token.s>2,$<token.len>2); }
-| PRODUCT
-| PASS           noofnscans
-| ELEV           elev  { rh.elev    = atof($<token.s>2); }
-| VELLVL         level { rh.vellvl  = atof($<token.s>2); }
-| NYQUIST        nyq   
-{
-  rh.nyquist = atof($<token.s>2);
-  rapic_nyquist = rh.nyquist;
-}
-| VIDEO                  field { memmove(rh.video,$<token.s>2,$<token.len>2); }
-| IMGFMT         type  { memmove(rh.imgfmt,$<token.s>2,$<token.len>2); }
-| UNFOLDING      ratio /* Already loaded: rh.ratio1, rh.ratio2 */
-;
-
-real     : number
-         | FLOATNUMBER
-
-number   : NUMBER
-
-seqno    : number
-scanno   : number
-imgno    : number
-datetime : number
-dc       : real
-         | ALPHA
-elev     : real
-fieldno  : number
-offset   : number
-size     : number
-datno    : number
-
-code     : number
-namestr  : ALPHA
-idno     : number
-lat      : real
-lon      : real
-alt      : real
-hhmm     : real
-
-yyyymoddhhmmss : number
-versionNumber  : real
-
-freq       : number
-prf        : number
-len        : real
-gatewidth  : number
-angle      : real
-anglerate  : real
-clearair   : ON
-           | OFF
-res        : number
-rng        : number
-typeid     :  VOLUMETRIC
-           |  NORMAL
-
-noofnscans : no OF nscans
-no         : number {rh.scannum = atoi($<token.s>1);}
-nscans     : number {rh.ofscans = atoi($<token.s>1);}
-type       : ALPHA
-
-field : REFL      {ivolume = DZ_INDEX; volume = radar->v[ivolume];}
-      | VEL       {ivolume = VR_INDEX; volume = radar->v[ivolume];}
-      | UNCORREFL {ivolume = ZT_INDEX; volume = radar->v[ivolume];}
-      | ZDR       {ivolume = ZD_INDEX; volume = radar->v[ivolume];}
-      | WID       {ivolume = SW_INDEX; volume = radar->v[ivolume];}
-
-level : real
-nyq   : real
-
-ratio : NONE        {rh.ratio1 = 0; rh.ratio2 = 0;}
-| number ':' number {rh.ratio1 = atoi($<token.s>1); rh.ratio2 = atoi($<token.s>3);}
-
-
-
-%%
-
-int rapicerror(char *s)
-{
-  fprintf(stderr, "RAPIC ERROR: <%s> on token <", s);
-  binprint(yylval.token.s, yylval.token.len);
-  fprintf(stderr, ">\n");
-  return 1;
-}
-
-int rapicwrap(char *s)
-{
-  yywrap(s);
-  return 1;
-}
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644 (file)
index 0000000..be63fba
--- /dev/null
@@ -0,0 +1,49 @@
+## Process w/ automake.  Or, autoreconf; make ##
+AM_CFLAGS = -DDATADIR="\"$(datadir)/rsl\""
+AUTOMAKE_OPTIONS = foreign
+SUBDIRS = . colors doc examples
+INCLUDES = -I. -I$(srcdir) -I$(prefix)/include -I$(prefix)/toolkit/include
+
+lib_LTLIBRARIES = librsl.la
+
+wsr88ddir = $(datadir)/rsl/
+dist_wsr88d_DATA = wsr88d_locations.dat
+
+include_HEADERS = rsl.h toolkit_1BC-51_appl.h
+
+headers = africa.h dorade.h lassen.h \
+          mcgill.h nsig.h radtec.h rainbow.h \
+          rapic_routines.h toga.h \
+          wsr88d.h \
+         $(include_HEADERS)
+
+librsl_la_LDFLAGS = -version-info 1:41
+librsl_la_SOURCES = \
+    $(rapic_c) $(radtec_c) \
+    dorade.c dorade_print.c dorade_to_radar.c \
+    lassen.c lassen_to_radar.c \
+    edge_to_radar.c \
+    radar.c volume.c image_gen.c cappi.c fraction.c read_write.c farea.c \
+    range.c radar_to_uf.c uf_to_radar.c wsr88d_to_radar.c \
+    carpi.c cube.c sort_rays.c toga_to_radar.c gts.c histogram.c \
+    ray_indexes.c anyformat_to_radar.c get_win.c endian.c mcgill_to_radar.c \
+    mcgill.c interp.c toga.c wsr88d.c wsr88d_get_site.c wsr88d_m31.c \
+    gzip.c prune.c reverse.c fix_headers.c \
+    nsig_to_radar.c nsig.c nsig2_to_radar.c \
+    africa_to_radar.c africa.c \
+    radar_to_hdf_2.c hdf_to_radar.c toolkit_memory_mgt.c \
+    radar_to_hdf_1.c rainbow.c rainbow_to_radar.c $(headers)
+
+
+rapic_c =  rapic_to_radar.c rapic.y rapic-lex.l rapic_routines.c
+radtec_c = radtec_to_radar.c radtec.c
+
+
+PREFIX = rapic
+LFLAGS = -P$(PREFIX)
+YFLAGS = -d -p $(PREFIX)
+LEX_OUTPUT_ROOT = lex.$(PREFIX)
+
+EXTRA_DIST = CHANGES CHECK_LIST Copyright GPL LGPL wsr88d_locations.dat rapic.h
+
+DISTCLEANFILES = rapic.c rapic-lex.c
similarity index 100%
rename from africa.c
rename to src/africa.c
similarity index 100%
rename from africa.h
rename to src/africa.h
similarity index 100%
rename from africa_to_radar.c
rename to src/africa_to_radar.c
similarity index 100%
rename from cappi.c
rename to src/cappi.c
similarity index 100%
rename from carpi.c
rename to src/carpi.c
similarity index 100%
rename from cube.c
rename to src/cube.c
similarity index 100%
rename from dorade.c
rename to src/dorade.c
similarity index 100%
rename from dorade.h
rename to src/dorade.h
similarity index 100%
rename from dorade_print.c
rename to src/dorade_print.c
similarity index 100%
rename from dorade_to_radar.c
rename to src/dorade_to_radar.c
similarity index 100%
rename from edge_to_radar.c
rename to src/edge_to_radar.c
similarity index 100%
rename from endian.c
rename to src/endian.c
similarity index 100%
rename from farea.c
rename to src/farea.c
similarity index 100%
rename from fix_headers.c
rename to src/fix_headers.c
similarity index 100%
rename from fraction.c
rename to src/fraction.c
similarity index 100%
rename from get_win.c
rename to src/get_win.c
diff --git a/gts.c b/src/gts.c
similarity index 100%
rename from gts.c
rename to src/gts.c
similarity index 100%
rename from gzip.c
rename to src/gzip.c
similarity index 100%
rename from hdf_to_radar.c
rename to src/hdf_to_radar.c
similarity index 100%
rename from histogram.c
rename to src/histogram.c
similarity index 100%
rename from image_gen.c
rename to src/image_gen.c
similarity index 100%
rename from interp.c
rename to src/interp.c
similarity index 100%
rename from lassen.c
rename to src/lassen.c
similarity index 100%
rename from lassen.h
rename to src/lassen.h
similarity index 100%
rename from lassen_to_radar.c
rename to src/lassen_to_radar.c
similarity index 100%
rename from mcgill.c
rename to src/mcgill.c
similarity index 100%
rename from mcgill.h
rename to src/mcgill.h
similarity index 100%
rename from mcgill_to_radar.c
rename to src/mcgill_to_radar.c
similarity index 100%
rename from nsig.c
rename to src/nsig.c
similarity index 100%
rename from nsig.h
rename to src/nsig.h
similarity index 100%
rename from nsig2_to_radar.c
rename to src/nsig2_to_radar.c
similarity index 100%
rename from nsig_to_radar.c
rename to src/nsig_to_radar.c
similarity index 100%
rename from prune.c
rename to src/prune.c
similarity index 100%
rename from radar.c
rename to src/radar.c
similarity index 100%
rename from radar_to_hdf_1.c
rename to src/radar_to_hdf_1.c
similarity index 100%
rename from radar_to_hdf_2.c
rename to src/radar_to_hdf_2.c
similarity index 100%
rename from radar_to_uf.c
rename to src/radar_to_uf.c
similarity index 100%
rename from radtec.c
rename to src/radtec.c
similarity index 100%
rename from radtec.h
rename to src/radtec.h
similarity index 100%
rename from radtec_to_radar.c
rename to src/radtec_to_radar.c
similarity index 100%
rename from rainbow.c
rename to src/rainbow.c
similarity index 100%
rename from rainbow.h
rename to src/rainbow.h
similarity index 100%
rename from rainbow_to_radar.c
rename to src/rainbow_to_radar.c
similarity index 100%
rename from range.c
rename to src/range.c
similarity index 100%
rename from rapic_routines.c
rename to src/rapic_routines.c
similarity index 100%
rename from rapic_routines.h
rename to src/rapic_routines.h
similarity index 100%
rename from rapic_to_radar.c
rename to src/rapic_to_radar.c
similarity index 100%
rename from ray_indexes.c
rename to src/ray_indexes.c
similarity index 100%
rename from read_write.c
rename to src/read_write.c
similarity index 100%
rename from reverse.c
rename to src/reverse.c
diff --git a/rsl.h b/src/rsl.h
similarity index 100%
rename from rsl.h
rename to src/rsl.h
similarity index 100%
rename from sort_rays.c
rename to src/sort_rays.c
similarity index 100%
rename from toga.c
rename to src/toga.c
similarity index 100%
rename from toga.h
rename to src/toga.h
similarity index 100%
rename from toga_to_radar.c
rename to src/toga_to_radar.c
similarity index 100%
rename from uf_to_radar.c
rename to src/uf_to_radar.c
similarity index 100%
rename from volume.c
rename to src/volume.c
similarity index 100%
rename from wsr88d.c
rename to src/wsr88d.c
similarity index 100%
rename from wsr88d.h
rename to src/wsr88d.h
similarity index 100%
rename from wsr88d_get_site.c
rename to src/wsr88d_get_site.c
similarity index 100%
rename from wsr88d_m31.c
rename to src/wsr88d_m31.c
similarity index 100%
rename from wsr88d_to_radar.c
rename to src/wsr88d_to_radar.c