Skip to content
Snippets Groups Projects
Commit 133f68c5 authored by GUEZ Lionel's avatar GUEZ Lionel
Browse files

Use the size of `extr_map`

Preparing to make dummy arguments longitude and latitude optional.
parent a5522586
No related branches found
No related tags found
No related merge requests found
......@@ -21,8 +21,8 @@ contains
call nf95_create("extr_map.nc", NF90_CLOBBER, ncid)
call nf95_def_dim(ncid, "lat", size(latitude), dimid_lat)
call nf95_def_dim(ncid, "lon", size(longitude), dimid_lon)
call nf95_def_dim(ncid, "lat", size(extr_map, 2), dimid_lat)
call nf95_def_dim(ncid, "lon", size(extr_map, 1), dimid_lon)
call nf95_def_var(ncid, "lat", NF90_FLOAT, dimid_lat, varid_lat)
call nf95_put_att(ncid, varid_lat, "standard_name", "latitude")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment