[RegCNET] Fw: Re: Fw: CLM4.5 settings in namelist

Graziano Giuliani ggiulian at ictp.it
Thu Sep 25 18:47:35 CEST 2014


On 09/25/2014 01:12 PM, Samy Rateb wrote:
> Hello Graziano,
[...]
> projected map deviated from the map pattern.
>
> Any advice to fix this problem
[...]

This a limit of ncview, which is using the values of lat,lon from the 2d file. 
The CLM is land model, so works ONLY on land points, i.e. the ocean points are 
missing from its output (and input). The lat,lon variables in the file have 
missing points and cannot be used for geolocation.

You can use nevertheless xlat,xlon from a model output file to geolocate the data:

ncks -v xlat,xlon file_SRF.YYYYYMMDDHH.nc coord.nc
ncks -A coord.nc file.clm.h0.YYYYMM_2d.nc
ncatted -a coordinates,regcm_mask,c,c,'xlat xlon' file.clm.h0.YYYYMM_2d.nc

Note that being all variables defined just on land, the only variable for which 
you may be able to actually see in ncview the coastline is the regcm_mask...

G.

-- 
Graziano Giuliani - Earth System Physics Section
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera, 11 - I - 34151 Trieste Italy


More information about the RegCNET mailing list