I am trying to run RIPS on my local webserver but I am not succeeding. RIPS website: -scanner.sourceforge.net/ says to place the file into the /var/www.. I am new to setting up web servers but I feel like I am missing something rudimentary and I can not grasp my mind around it. So any tips on how to actually start RIPS please let me know.
Basically, set up a webserver with php, download rips and extract it into a subfolder of your www-root (htdocs, /var/www/, or whatever it is called in your linux distribution or webserver config), check that permissions are properly set and navigate your browser to that subdir on your webserver. You should see the rips welcome page. Once there, select a base folder (any absoulute path on the webserver), tick the "subdirs" checkbox, start the scan and wait for it to finish to triage the results.
For a quick and painless windows webserver setup you might want to download xampp and follow this guide.If you're on linux, use your package manager to install a webserver of your choice and a recent version of php (e.g. yum .. or aptitude install apache2 php)
If you feel like you want to run it in CLI mode see my fork that adds optional cli support that allows you to run rips without having to install a webserver. Pretty handy if you have a build pipeline for continuous integration and automatically want to fail builds when rips detects defects in your codebase.
Rips are formed when current rushes over a reef, sandbar, or shoal often in open water, creating a distinct line separating calmer and nastier water. During spring and early summer, rips get loaded up with squid and hungry Striped Bass, creating some truly epic fishing. Although my favorite time to fish them is this spring and early summer area, rips hold fish all season long and are consistent and productive places to throw the long rod for Stripers.
The main way of positioning your boat while fly fishing a rip is to stay up current of the rip itself in the flat water and cast on an angle down current, letting your fly swing down into the money zone. This means you will need one person to be in control of the boat at all times as you are constantly adjusting your positioning so you stay above the rip, but still close enough that your fly can get down into the waves.
Examples of different types of rip currents. The top panels show channelized rip currents as areas of darker water between regions of breaking waves and whitewater. The bottom panels show flash rip currents characterized by plumes of turbulent water and sand. See Sections 4 and 5 for more information about rip current types and how to identify them. Source: Top, R. Brander; bottom left = www.fire.lacounty.gov/lifeguard/rip-currents/; bottom right, Peter Davis
Coastal scientists have been studying rip currents since the 1920s. While early studies were largely descriptive and qualitative, recent research has combined quantitative theoretical approaches, field experiments measuring waves and currents, remote video imaging, experiments in laboratory wave tanks, and computer model simulations.This research has focused on a variety of topics including rip current formation mechanisms, flow characteristics, and the hazard that rip currents pose to swimmers.The information here provides a brief description of our present understanding of the science of rip currents, along with a glossary of key scientific terms relating to rip currents and beaches. For more detailed information, a list of key scientific reviews of rip currents is provided below.
Rip currents are driven by the action of breaking waves and are found on a range of beach types along ocean, sea, and lake coastlines--anywhere that breaking waves are present! Rip currents may occur on long, straight beaches, embayed beaches, beaches with sandbars and deeper channels, and flat and featureless beaches. They are also frequently found next to both natural and man-made hard structures such as headlands, groins, jetties, and piers.
Breaking waves alone are not enough to form a rip current: rip currents are formed when there are alongshore variations in wave breaking. In particular, rip currents tend to form in regions with less wave breaking sandwiched between regions of greater wave breaking. To understand why this is the case, we need to examine a phenomenon known as wave setup.
Rip currents are part of nearshore circulation cells that transport water between the surf zone and areas offshore. While rip current circulation patterns have some common features, the details of the structure of these currents can vary widely.
Other rip currents are characterized by recirculating flow within the surf zone with only occasional exits of flow offshore (see figure below). Both types of circulation patterns exist and have significant implications for swimmer escape strategies and the transport of sand, larvae and water borne material.
Rip current structure and different types of rip current circulation patterns showing both surf zone and offshore exchange via exiting flow (left) and re-circulation within the surf zone (right). Source: Castelle et al., 2016.
Many different types of rip currents can occur on beaches in the United States and around the world. Scientists and beachgoers use a range of terms to describe these various rip currents types, and usage often is inconsistent. The following list of rip current types follows a scientific classification from Castelle et al. (2016) that differentiates rip currents based on their forcing mechanisms: the different causes of the alongshore variations in breaking waves that are crucial for the formation of rip currents.
The location and persistence of rip currents in many locations is controlled by the bathymetry, or shape of the bottom. This can mean the bathymetry near the beach, including sandbars that may shift in position and exhibit different configurations, or the offshore bathymetric features that are relatively fixed, including submarine canyons, submarine ridges, and reefs. Bathymetrically-controlled rip currents may be referred to as either channelized or focused:
Channelized rip currents are the most documented and well understood rip current type. They occupy deeper channels that interrupt shallow, mostly shore-parallel sandbars found on many beaches. They can persist in a relatively fixed location for days, weeks, or months and are relatively easy to identify (see figure below). Channelized rip currents typically range in width from 5 to 100 yards, have depths on the order of 3 to 10 feet or more, and may be spaced anywhere from 50 to 500 yards apart, with greater spacing often occurring for large wave heights.
The dominant visual characteristic of channelized rips is a narrow path of darker water between areas of whitewater associated with breaking waves ( see figure below). While the darker water appears seemingly calm, the surface is often characterized by a choppy, rippled texture. When channel rip currents remain in the same place for a long period of time, they can also erode the shoreline creating pronounced scallops, sometimes referred to as rip embayments or megacusps. Channelized rips have also been referred to as bar-gap, fixed, and accretionary rip currents.
Focused rip currents, like channel rips, also occur at relatively fixed locations, but are controlled by alongshore variations in breaking waves created by offshore bathymetric features such as submarine canyons, submerged ridges, or offshore sand bars. These features result in wave patterns that tend to focus wave breaking and rip current formation at a particular location. However, as the direction of wave approach changes, so too can the location of focused rip currents. Focused rip currents can occur along flat, featureless beaches where they typically appear as offshore directed plumes of turbulent water and sediment (see figure below).
Rip currents often occur adjacent to man-made structures such as groins, jetties, and piers as well as natural geologic features such as headlands and rock/reef outcrops ( see figure below). These structurally-controlled rip currents are persistent in location and can occur even during small breaking wave conditions. Structural rips sometimes are associated with deeper water adjacent to structures, and in these cases appear as areas of darker water with reduced wave breaking activity.
Structural rips also have been referred to as boundary, topographic, permanent, and headland rip currents. They can be grouped into two types based on how and where they form. In some cases, these types can exist simultaneously on each side of the structure.
Deflection rip currents occur on the up-wave or exposed side of a rigid structure or boundary. On straight beaches, waves approaching and breaking against the shoreline at an angle can create strong alongshore currents that are physically deflected seaward when they reach the structure and flow offshore adjacent to it (see figure below).
As waves approach the shoreline, they usually break at an angle, generating a longshore current that flows along the shoreline (parallel) to the beach. When the longshore current (moving along the shore) encounters coastal structure (such as a groin, jetty, or pier) it is deflected in an offshore direction. This offshore-directed flow of water is called a rip current.
Unlike bathymetrically and boundary-controlled rip currents, some rip currents do not rely on the presence of nearshore or offshore bottom features or the presence of structures. These rip currents are controlled solely by hydrodynamics -- wave and current interactions -- and can occur on featureless straight beaches. It is not possible to predict the exact location and timing of hydrodynamic rip currents, but it may be possible to estimate the likelihood of their formation on a given beach.
Hydrodynamically-controlled rip currents often present different visual characteristics than channelized rip currents and typically appear as narrow bands of turbulent whitewater and sand extending offshore of the surf zone ( see figure below). Less is known about their flow speed and duration due to a lack of field measurements; however, they still represent a risk to swimmers and waders due to their unpredictability and ability to carry people offshore into deeper water.
c80f0f1006