I guess do you mean the !CALL error_nc(section, rcode)?

I do not know why it is not working in my desktop (netCDF 4.1.3)

Lluís

--- -- -
Dr. Lluís Fita Borrell
Post Doc Researcher
Climate Change Research Centre
University of New South Wales
Sydney, NSW, 2052
Australia

http://www.ccrc.unsw.edu.au/
ph: +61-2-9385 8963
________________________________
From: Scott Wales [notifications@github.com]
Sent: Thursday, March 28, 2013 1:27 PM
To: coecms/climatescripts
Cc: Lluis Fita Borrell
Subject: Re: [climatescripts] Adding Fortran (#5)


In fortran/write_netCDF.f90:

> +  vardims = (/ dimxid, dimyid, dimtid /)
> +  varnumid = 0
> +
> +! Running program
> +!!!!!!! !!!!!! !!!!! !!!! !!! !! !
> +
> +  section="write_netCDF"
> +
> +  rcode = nf90_create(TRIM(ofile), NF90_CLOBBER, oid)
> +  !CALL error_nc(section, rcode)
> +
> +!!
> +! Deffinition section
> +!!
> +  rcode = nf90_def_dim(oid, 'lon', dimx, dimxid)
> +  !CALL error_nc(section, rcode)


Should these be commented out?

—
Reply to this email directly or view it on GitHub<https://github.com/coecms/climatescripts/pull/5/files#r3564209>.