Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Adding new surface data error: "gridmap_check ERROR from mksectorwater: mapping areas not conserved"

sabin_taranu

Sabin
New Member
Hi everybody,

While trying to add new surface data I run into the following issue:
gridmap_check ERROR from mksectorwater: mapping areas not conserved
global sum output field = 0.0000000000E+00
global sum input field = -0.5100487376E+13

Does anyone know what can be the problem and possible solutions?

To reproduce the error:
git clone GitHub - TaranuDev/CTSM: Community Terrestrial Systems Model (includes the Community Land Model of CESM) CTSM_input_test_ST
cd CTSM_input_test_ST
git checkout read_input_data2
./manage_externals/checkout_externals
cd tools/mksurfdata_map/src
gmake
cd ..
./mksurfdata.pl -r 0.9x1.25 -y 2000

In addition to see all files I modified (assuming you are in CTSM_test_ST/):
grep -crl "sectorwater"
 

oleson

Keith Oleson
CSEG and Liaisons
Staff member
Since the global sum input field is a large negative number, I suspect that your input mask is all missing values.
I think you need a LANDMASK variable on your input file.
 

sabin_taranu

Sabin
New Member
Hi Keith, you were right!
I added the LANDMASK variable and it worked like magic ;)

Thanks for your help on previous question too!

Have a nice day!
Sabin
 
Top