Jpp  18.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
getMIIseacurrent.sh File Reference

Go to the source code of this file.

Functions

esac function clean ()
 

Variables

 script
 
then echo Variable JPP_DIR
undefined exit fi source
$JPP_DIR setenv sh $JPP_DIR
&dev null set_variable DEBUG
set_variable DIR $JPP_DIR
examples JAcoustics
set_variable WORKDIR 
set_variable
 
then usage $script< tmin >
< tmax > or n $script clean
nwhere< tmin > and< tmax > are
strings of the 
form
 
&set_variable TMAX $argv [2]
 
*fatal Wrong number of arguments
 
case $OPTION in clean clean
 
*fatal Wrong option $OPTION
 
esac if [[-n"$TMIN"&&-n"$TMAX"]]
 
then uTMIN
 
then awk F {if ( NR>11 ) {print $1 " " $2 " " $3;}
 
then awk $MII_ASC
$CurSpeed_TXT awk then JGraph
f $CurSpeed_TXT o
$CurSpeed_ROOT JPlot1D f 
$CurSpeed_ROOT
 

Function Documentation

esac function clean ( )

Definition at line 53 of file getMIIseacurrent.sh.

54 {
55  rm -f $MII_ASC
56  rm -f $CurSpeed_TXT
57  rm -f $CurDirec_TXT
59  rm -f $CurDirec_ROOT
60  rm -f $CurSpeed_GIF
61  rm -f $CurDirec_GIF
62  exit
63 }
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
Definition: JDataQuality.sh:76
exit
Definition: JPizza.sh:36
then rm
Definition: sftpput.zsh:30
then awk $MII_ASC $CurSpeed_TXT awk then JGraph f $CurSpeed_TXT o $CurSpeed_ROOT JPlot1D f $CurSpeed_ROOT

Variable Documentation

script
Initial value:
=${0##*/}
if [ -z $JPP_DIR ]

Definition at line 2 of file getMIIseacurrent.sh.

then echo Variable JPP_DIR undefined exit fi source $JPP_DIR setenv sh $JPP_DIR& dev null set_variable DEBUG set_variable DIR $JPP_DIR examples JAcoustics set_variable WORKDIR set_variable

Definition at line 36 of file getMIIseacurrent.sh.

then usage $script<tmin><tmax> or n $script clean nwhere<tmin> and<tmax> are strings of the form

Definition at line 47 of file getMIIseacurrent.sh.

set_variable TMIN $argv[1]

Definition at line 48 of file getMIIseacurrent.sh.

* fatal Wrong number of arguments

Definition at line 49 of file getMIIseacurrent.sh.

case $OPTION in clean clean

Definition at line 66 of file getMIIseacurrent.sh.

* fatal Wrong option $OPTION

Definition at line 66 of file getMIIseacurrent.sh.

esac if[[-n"$TMIN"&&-n"$TMAX"]]

Definition at line 68 of file getMIIseacurrent.sh.

then uTMIN
Initial value:
=`date -d $TMIN +%s --utc`
uTMAX=`date -d $TMAX +%s --utc`
echo "Obtaining sea current speed and direction between" $TMIN "("$uTMIN") and" $TMAX "("$uTMAX")"
wget -O $MII_ASC "https://erddap.osupytheas.fr/erddap/tabledap/Emso_Aquadopp_64c7_8059_4af9.asc?time,Speed_mean,Speed_std,Direction_mean,Direction_std&time>=$uTMIN&time<=$uTMAX"
if [[ -f $MII_ASC ]]
o $QUALITY_ROOT d $DEBUG!CHECK_EXIT_CODE JPlot1D f
Definition: JDataQuality.sh:76
then JMuonMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
Definition: JMuonPath.sh:47
then echo
Definition: JQAQC.sh:90

Definition at line 73 of file getMIIseacurrent.sh.

then awk $MII_ASC $CurSpeed_TXT awk F {if ( NR>11 ) {print $1 " " $2 " " $3;}

Definition at line 86 of file getMIIseacurrent.sh.

then awk $MII_ASC $CurSpeed_TXT awk then JGraph f $CurSpeed_TXT o $CurSpeed_ROOT JPlot1D f $CurSpeed_ROOT
Initial value:
{if ( NR>11 ) {print $1 " " (90.0 - $4)/57.2958 " " $5/57.2958 ;}}' $MII_ASC > $CurDirec_TXT
fi
if [[ -f $CurSpeed_TXT ]]
print
Definition: JConvertDusj.sh:44

Definition at line 87 of file getMIIseacurrent.sh.