Generating wind statistics

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
yairsuari
Posts: 2
Joined: Thu Apr 07, 2011 11:24 pm
Location: Bar Ilan University

Generating wind statistics

#1 Unread post by yairsuari »

Hi all.
This is not a strict ROMS question but i figure this is the best place to ask.
I want to create a script that generates statistics of the weather in a specific location. The purpose is to help competitive sailors assess the conditions at racing spots.
My idea was to query the GFS forecast archive (I think this will be approprite:http://nomads.ncdc.noaa.gov/dods/NCEP_G ... s_complete)creating subsets of time and location for the correct grid location and the scheduled season for the sailing event and then running simple statistics on that(possibly in matlab but other tool may be simpler).
my questions are:
1. does anyone know of such scripts i can edit to suite my needs?
2. does this seem applicable?

thanks for your answers in advance!
yair

yairsuari
Posts: 2
Joined: Thu Apr 07, 2011 11:24 pm
Location: Bar Ilan University

Re: Generating wind statistics

#2 Unread post by yairsuari »

Hi everyone. 70 people have read this so thanks for trying to help.
I am not done with it but i guess i am begining so i post the beginning of my matlab code:


% call for data
prompt = {'Enter event month:','Enter event day:','Enter Lat (full degrees):','Enter Lon (full degrees):'};
dlg_title = 'Input';
num_lines = 1;
def = {'20','15','35','35'};
answer = inputdlg(prompt,dlg_title,num_lines,def);
evmonth=str2num(answer{1})
evday=str2num(answer{2})
evlat=str2num(answer{3})
evlon=str2num(answer{4})
%
fname='http://nomads.ncdc.noaa.gov/dods/NCEP_G ... s_complete';
ncid=netcdf.open(fname);

Post Reply