Help with PopLatLong?

From: <owensh_at_nyahnyahspammersnyahnyah>
Date: Wed Feb 22 2012 - 08:23:04 MST

Hi,
I am still pretty new to ncl, and I'm trying to regrid netCDF files from
POP grid to 1X1 degree. How do I write the output of popLatLon to netCDF?
Below is as far as I've gotten with the script.

Thank you very much for your help,
Hannah

#Import necessary stuff

load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/popRemap.ncl"

#Access file to be regridded
set runname = b40.20th.track1.1deg.007
set var1 = IFRAC
set rundir = $runname/monthly

begin
  in = addfile("$rundir/$runname.$var1*_monthlyavg.nc","r")
  var1 = in->hi

#Regrid and save
remap = PopLatLon(ice,"gx1v3","1x1d","bilin","da","010808")

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 22 08:23:16 2012

This archive was generated by hypermail 2.1.8 : Thu Feb 23 2012 - 10:01:53 MST