[ncl-talk] pop basins and masking

Dennis Shea shea at ucar.edu
Thu Jun 13 12:04:28 MDT 2019


The attached should work just fine after

%> gzip -d gx1v3.pop.h.REGION_MASK.nc.gz


---> pop_1.ncl

 ;fili      = "gx1v6_ocn.nc"                                ; original
example file
  fili      = "gx1v3.pop.h.REGION_MASK.nc"
---
netcdf *gx1v3.pop.h.REGION_MASK* {
dimensions:
nlat = 384 ;
nlon = 320 ;
variables:
int REGION_MASK(nlat, nlon) ;
REGION_MASK:long_name = "basin index number (signed integers)" ;
REGION_MASK:coordinates = "TLONG TLAT" ;
REGION_MASK:_FillValue = -2147483647 ;
REGION_MASK:missing_value = -2147483647 ;
float TLAT(nlat, nlon) ;
TLAT:long_name = "array of t-grid latitudes" ;
TLAT:units = "degrees_north" ;
float TLONG(nlat, nlon) ;
TLONG:long_name = "array of t-grid longitudes" ;
TLONG:units = "degrees_east" ;

// global attributes:
:title = "gx1v3.210" ;
:contents = "Diagnostic and Prognostic Variables" ;
:source = "POP, the NCAR/CSM Ocean Component" ;
:revision = " $Name: ccsm3_0_beta20 $" ;
:calendar = "All years have exactly  365 days." ;
:conventions = "CF-1.0;
http://www.cgd.ucar.edu/cms/eaton/netcdf/CF-current.htm" ;
:start_time = "This dataset was created on 2004-05-11 at 18:56:44.7" ;
:cell_methods = "cell_methods = time: mean ==> the variable values are
averaged over the time interval between the previous time coordinate and
the current one.          cell_methods  absent  ==> the variable values are
at the time given by the current time coordinate." ;
:history = "Tue Jan  7 17:13:51 2014: ncks -v TLAT,TLONG,REGION_MASK
gx1v3.210.pop.h.0001-01.nc gx1v3.pop.h.REGION_MASK.nc" ;
:NCO = "4.2.1" ;
}

On Thu, Jun 13, 2019 at 10:10 AM 黄涵 <hedgehogh at pku.edu.cn> wrote:

> Hi all,
>
> I want to use pop ocean mask in  example popmask_1.ncl (see link below),
> https://www.ncl.ucar.edu/Applications/popmask.shtml
>
> But I can't find the file gx1v6_ocn.nc in that example. Could you please
> help me with this problem? Thanks a lot.
>
> Han
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190613/efaa31da/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gx1v3.pop.h.REGION_MASK.nc.gz
Type: application/x-gzip
Size: 383422 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190613/efaa31da/attachment-0001.bin>


More information about the ncl-talk mailing list