added new error checking function
added new error checking function

EarthSystemCoG/COG,EarthSystemCoG/COG,EarthSystemCoG/COG,EarthSystemCoG/COG,sashakames/COG,sashakames/COG,EarthSystemCoG/COG,sashakames/COG,EarthSystemCoG/COG,sashakames/COG,sashakames/COG,sashakames/COG,sashakames/COG,EarthSystemCoG/COG