Re: question

From: Dennis Shea (shea AT XXXXXX)
Date: Fri Jun 25 2004 - 08:16:05 MDT

  • Next message: Sylvia Murphy: "Re: question"

    >I am using ncar command language pop remap.
    >I have a netCdf file having data in
    >unequal grids.I have converted it into
    >lat/lon plot using popRemap.
    > Now i have to convert it into netCdf file.
    >I want to know how to convert ncl file into netCdf

    Let's say the variable u created is X.
    The simplest method is as follows

      diro = "./" ; output directory
      filo = "my_POP_REMAP.nc"
      system ("/usr/bin/rm "+diro+filo) ; remove if it already exists

      fo = addfile(diro+filo,"c")
      fo@title = "Remapping of variable X"
      fo@source = "Sharadkumar Yeri: Centre For Atmospheric and Oceanic Sciences"
      fo@Conventions = " "
      fo@date = systemfunc ( "date" )

      fo->X = X

    ---
    http://www.cgd.ucar.edu/csm/support/CSM_Graphics/pop.shtml
    

    _______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Fri Jun 25 2004 - 07:55:53 MDT