I was sitting with Pierre Loquett, coach of the Israeli women windsurfing team, also known as the madam sailing team to analyze data he obtained from the sailors during the last year. Since I knew I will probably have to debug what I do, I decided to try and do it using google spreadsheet instead of downloading the data and using Microsoft excel.
Being a Microsoft excel teacher, I thought I was going to have a hard time doing it, but I was in for a big surprise, some little things (and very big things) google sheets does makes life much easier than possible with excel!
Befor I start presenting what I saw, let me first say I am not a google fan (not anymore, at least) and like the average Joe, I am very much afraid of their control of human knowledge, but this is an awesome tool!
First a screencast showing what I did and the benefits google sheets present
Detailes: Big things The filter function: This function is one of many google sheets functions that do not exist in excel and probably cannot be implemented there. These functions are typed in one cell and changes the value of a range of cells.
For instance, you can create an SQL like query returning records in a specific date range from your bank report.
Little things Graphs: Although graphs still have a long way to go and usually I will still recommend plotting in excel (Or other software if you really want high quality) in this case my graph data range was dynamic since its based on the filtered data. I don't know how this was implemented, but when the filtered range size was changed, the plotted range changed with it leaving no blank data on the graph.
Date selection: Mistakingly I double clicked on a cell containing a date value which set of a date picker for my surprise.
I guess that as much as I will keep working with sheets I will come across more little things that will make me ask "How didn,t anyone do that before"
OK, who haven't been there, you get the list of events planned for next year only to find out that the most important event (world championships??) is scheduled somewhere you have no idea about. In this post I will show and demonstrate how to use windguru.com archive data to generate statistical analysis of the typical weather at the event site. Bottom Line
You probably wonder how difficult this is going to be and what kind of insights am I going to get from this thing?
So here are the two simple answers (in screencasts) and if you have any problems (usually, if your event site does not exist in the windguru spot list) you will have to scroll down to find a solution. you ill have to use one of the two excel templates Analysis template with waves data Analysis template without waves data
Recent edits:
This post uses the old version of wind guru website. To reach it use this short screencast:
How do I use it?
What do I get out of it?
Quick intro to the windguru website:
Windguru is a website that facilitates easy access to numerical weather forecast. The free version delivers the GFS 27Km data, but you can always pay for the pro version and have access to many more models. It has a predefined list of spots each of them linked to graphical representation of the latest weather forecast for that spot. The interface provides several ways to select your spot, it is specifically designed for sailors and provides access to varied data such as wind speed and direction, air temperature, wave height, cloud cover and more for the next 10 days. The forecast is usually very accurate. On regions that are highly affected by land such as closed bays or lakes the forecast quality is limited. How to find the windguru spot closest to the event website:
If your event is scheduled somewhere you have no clue about you can do two things:
1. Subscribe to the windguru pro version which also allows you to add a new spot.
2. Find the windguru spot closest to your event site using the windguru spot map, and google earth as demonstrated at the following screencast.
The windguru data archive:
Windguru does not only provide forecasting, it also archives the latest forecast for a spot. I use the windguru archive as a database to generate statistics of weather patterns for an event site. It enables you to focus on season or month of interest as demonstrated in the following screencast.
Hi all
For some time now, I was looking for a way to detect plagiarism in excel files.
Today I realized that in most cases, students that needs to submit an excel assignment (or for that matter, any other assignment) will be using a file already submitted by submitted by someone else in their group which they modify to some extent.
The students can only modify the file content, but they cannot modify are at least will not modify the file's creation date. Thats the idea lying behind this "antiplagirism" tool.
1. grab the excel file from here
2. put it in the folder where the submitted files are located
3. run the macro by pressing CTRL+r
4. Sort the list of file that was created by the creation date (Column B)
5. Find the files with the same creation time
In this blog post I intend to display the one box model of fluxes and sinks using a series of lab casts.
First lets go through the mathematical terms we intend to use
$$ Reservoir - Q $$
$$Time - t $$
A reservoir is the "box" from the one box model, where the substances are accumulated. It is denoted by the letter Q which suggest that it is an expression of the quantity of substance in the reservoir. Time denotes the times since the reservoir started filling and is denoted by the letter t
$$Flux - \nu $$
These terms are demonstrated in the following Lab-Cast
This model forecast
Reservoir size is equal to the time since the flux began doubled by the flux
$$ Q={\nu}*{t} $$
The flux is equal to the size of the reservoir devided by the time since the flux began
$$\nu = \frac{Q}{t}$$
The time since the flux began is equal to the reservoir size devided by the flux
$$t=\frac{Q}{\nu}$$
Naturlly, fluxes can come in many different shapes and can be combined or detached. For instance, lets add another flux of dissolved tracer to our water flux.
Nothing changes in our mathematics the only thing we need to adjust is that we need for each tracer using the appropriate terms. The link between the water and the tracer flux is the Concentration in the flux and in the reservoir.
reservoir concentration - $C_r$ and flux concentration - $C_f$
So the terms used for tracer calculation (marked as tr):
$$Q_{tr}=t*\nu*C_f = C_r*Q$$
$$\nu_{tr}=\nu_{tr}*C_{f}$$
$$t=\frac{Q_{tr}}{\nu_{tr}}$$
The most important statement in this post is:
In the real world every flux has an opposing flux (outflux), otherwize, Reservoir size (Q) will reach infinity.
So lets introduce a new term:
$$Removal - R$$
In the following lab cast an example of influx and removal is given:
And now for some math, this time using the two fluxes situation.
Let us try and calculate the change of tracer concentration $Q_{tr}$ per unit of time:
$$\frac{dQ_{tr}}{dt}= \Sigma sources - \Sigma sinks=f_{tr}-R_{tr}$$
In our simple example the only source is the particulate source through the tap and the only sink is the particles settling. The size of the sink is linearly related to the size of the tracer reservoir $Q_{tr}$. Let us define the linear relationas k.
$$\frac{dQ}{dt}=f_{tr}-kQ_{tr}$$
after doing some algebra:
$$\frac{dQ}{f_{tr}-k*Q_{tr}}=dt$$
And by integrating both sides of the equation over time we are getting:
$$\left(\frac{1}{k}\right) * ln \left(f_{tr}-k*Q_{tr}\right) \int_0^t= t \int_0^t $$
Which gives
$$\left(\frac{1}{k}\right) * ln \left(\frac{f_{tr}-k*Q_{tr(t=t)}}{f_{tr}-k*Q_{tr(t=0)}}\right) = t $$
And again, Rearranging:
$$Q_{tr(t=t)}=Q_{tr(t=0)}*e^{-kt}+\frac{f_{tr}}{k}*\left(1-e^{-kt}\right)$$
Bear in mind that the natural environment is usually a "pseudo steady state", the environmental properties change in time but are kept between thresholds. This means that the influx and outflux are equal and therefore can be calculated using the following formulas give us a good first order approximation of the fluxes.
$$f_{tr}=R_{tr}$$ or $$\frac{d{tr}}{dt}=0$$ or $$\frac{dQ}{dT}=0$$
When I teach my chemical oceanography student about the factors determining sediment composition I found out that understanding the concept of relative flux rate is not trivial. Therefore, I present a simple experiment demonstrating those concepts.
First, let me ask you a question:
Why the most abundant type of sediment in deep water (>3.7Km) at the middle of the ocean is red clayes of continental origin?
To answer that we must first understand that sediment is formed by settling of particles from the sea surface or particles that are formed within the water column on the bottom of the ocean. The settled particles are defined as sediment. This is demonstrated in the following clip
As you can see, when only one type of sediment settles the sediment is composed of only that type of sediment. But what is the sediment composition when several types of sediments are settled together?
Now we are getting closer to solving our question. When sedimentation of several types of sediments is simultaneous, the sediment composition will be determined by their relative flux (amount of sediment sinking in a unit of time) and their decomposition within the sediment.
Lets see if its clear
And now lets see if you can implement the concepts I introduced to help people in need A group of arts wants to find meteorites to make jewels where would you suggest them to look fo
In this post I want to run you guys through a series of screencasts describing how to perform ecological community statistical analysis using the PAST statistical software.
PAST is a statistical software developed by Oyvind Hammer from the Norwegian natural history museum. Initially it was designed to perform paleontological statistics, but has become an extremely useful and easy to learn statistical software. The fact that PAST is distributed free of charge makes it an alternative to other programs, in my case I use it as an alternative to PRIMER-E when performing benthic statistics. In the PAST website you can also find a very lightweight easy to understand user guide.
In most cases you will perform the sampling on field and organize the data using Microsoft excel where columns represents the taxa and rows represent each sample the values in the cells are a measure of taxa aboundance in each sample. the first two screencastdescribes how to organize your ecological data and upload it to PAST.
The procedures the help you get a "feeling" of your data includes non metric multi-dimensional scaling (Kenkel and Laszlo, 1986) and cluster analysis, the analysis results help you see if there are trends in your data, to better see the internal organization of the data you can use a "grouping" variable to add color to you results. this is all described in the following two screencasts.
After distinct sample groups were identified in your data you will want to determine if they are significantly different from one another. This can be performed using ANOSIM (analysis of similarity, Anderson, 2001).
The last step in the screencast series is understanding which species control the community change, this can be performed using a statistical test called SIMPER (similarity percentage, Clarke1993) as displayed in the last screencast.
Anderson, M. J. 2001. A new method for non-parametric multivariate analysis of variance. Austral Ecology 26: 32-46.
Clarke, K.R. 1993. Non-parametric multivariate analyses of changes in community structure. Australian Journal of Ecology, 18, 117143. Kenkel, Norm C., and Laszlo Orlóci. "Applying metric and nonmetric multidimensional scaling to ecological studies: some new results." Ecology(1986): 919-928.