Index: ../trunk-jpl/src/m/classes/model.m
===================================================================
--- ../trunk-jpl/src/m/classes/model.m	(revision 18960)
+++ ../trunk-jpl/src/m/classes/model.m	(revision 18961)
@@ -834,6 +834,7 @@
 
 			% Calving variables
 			if isa(md.calving,'calving'),md.calving.calvingrate=project3d(md,'vector',md.calving.calvingrate,'type','node');end;
+			if ~isnan(md.calving.meltingrate),md.calving.meltingrate=project3d(md,'vector',md.calving.meltingrate,'type','node');end;
 			if isa(md.calving,'calvinglevermann'),md.calving.coeff=project3d(md,'vector',md.calving.coeff,'type','node');end;
 			if isa(md.calving,'calvingpi'),md.calving.coeff=project3d(md,'vector',md.calving.coeff,'type','node');end;
 
Index: ../trunk-jpl/src/m/classes/model.py
===================================================================
--- ../trunk-jpl/src/m/classes/model.py	(revision 18960)
+++ ../trunk-jpl/src/m/classes/model.py	(revision 18961)
@@ -668,6 +668,10 @@
 			md.calving.calvingrate=project3d(md,'vector',md.calving.calvingrate,'type','node')
 		if isinstance(md.calving,calvinglevermann):
 			md.calving.coeff=project3d(md,'vector',md.calving.coeff,'type','node')
+		if isinstance(md.calving,calvingpi):
+			md.calving.coeff=project3d(md,'vector',md.calving.coeff,'type','node')
+		if not numpy.any(numpy.isnan(md.calving.meltingrate)):
+			md.calving.meltingrate=project3d(md,'vector',md.calving.meltingrate,'type','node')
 
 		# Hydrologydc variables
 		if hasattr(md.hydrology,'hydrologydc'):
