The Meson Build System http://mesonbuild.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
303 B

use netcdf
implicit none
integer :: ncid
call check( nf90_create("foo.nc", NF90_CLOBBER, ncid) )
call check( nf90_close(ncid) )
contains
subroutine check(status)
integer, intent (in) :: status
if(status /= nf90_noerr) error stop trim(nf90_strerror(status))
end subroutine check
end program