Conditional Script Loading and Re: A Simple where() Function for NCL Versions prior to 4.3.0

From: Lunde, Bruce N CIV NAVOCEANO, NP1 <bruce.lunde_at_nyahnyahspammersnyahnyah>
Date: Thu, 23 Aug 2007 15:46:55 -0500

Hello,

I guess to conditionally load scripts based on the
version of NCL you are running you could do the
following:

  if( get_ncl_version() .lt. "4.3.0" )then
    loadscript("where.ncl")
  end if

  begin
    ... Your code ...
  end

But the ability of this to work into the future
could depend upon the future NCL version numbering
system.

Bruce

=====
Bruce Lunde
Bruce.Lunde_at_navy.mil
228-688-5843
Code NP1
Naval Oceanographic Office
Stennis Space Center, MS
=====
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 23 2007 - 14:46:55 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 23 2007 - 15:57:17 MDT