@ -177,13 +177,13 @@ template<class D> MString ActionUV::DoAction(const CLArgs& args, D& ds)
if ( args . contains ( " compress " ) ) compress = args . at ( " compress " ) . ToInt ( ) ;
if ( ! err . Exist ( ) ) err = fw . Create ( data , name , args . at ( " _cmdline " ) , compress ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " u " , " " , " Eastward velocity " , u ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " v " , " " , " Northward velocity " , u ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " div " , " " , " Velocity divergence " , " ( " + u + " )/ " + d ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " rot " , " " , " Velocity rotor " , " ( " + u + " )/ " + d ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " ow " , " " , " Okubo-Weiss parameter " , " ( " + u + " )2/ " + d + " 2 " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " ke " , " " , " Squared velocity module, u^2+v^2 " , " ( " + u + " )2 " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " eke " , " " , " Squared velocity dispersion aka eddy kinetic energy, <u^2+v^2>-<u>^2-<v>^2 " , " ( " + u + " )2 " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " u " , " " , " Eastward velocity " , u , " " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " v " , " " , " Northward velocity " , u , " " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " div " , " " , " Velocity divergence " , " ( " + u + " )/ " + d , " " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " rot " , " " , " Velocity rotor " , " ( " + u + " )/ " + d , " " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " ow " , " " , " Okubo-Weiss parameter " , " ( " + u + " )2/ " + d + " 2 " , " " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " ke " , " " , " Squared velocity module, u^2+v^2 " , " ( " + u + " )2 " , " " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " eke " , " " , " Squared velocity dispersion aka eddy kinetic energy, <u^2+v^2>-<u>^2-<v>^2 " , " ( " + u + " )2 " , " " ) ;
if ( ! err . Exist ( ) ) err = fw . WriteGrid ( data ) ;
@ -243,8 +243,8 @@ template<class D> MString ActionUV::DoAction(const CLArgs& args, D& ds)
if ( args . contains ( " compress " ) ) compress = args . at ( " compress " ) . ToInt ( ) ;
if ( ! err . Exist ( ) ) err = fw . Create ( sdata , name , args . at ( " _cmdline " ) , compress ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " u " , " " , " Eastward velocity " , u ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " v " , " " , " Northward velocity " , u ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " u " , " " , " Eastward velocity " , u , " " ) ;
if ( ! err . Exist ( ) ) err = fw . AddVariable ( " v " , " " , " Northward velocity " , u , " " ) ;
if ( ! err . Exist ( ) ) err = fw . WriteGrid ( sdata ) ;