Opened 9 years ago
Closed 7 years ago
#1418 closed Defect (wontfix)
Close the netcdf files in agrif_create_data.exe
Reported by: | lambertn | Owned by: | nemo |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | AGRIF | Version: | trunk |
Severity: | Keywords: | AGRIF IO NetCDF* | |
Cc: |
Description
In /trunk/NEMOGCM/TOOLS/NESTING/src/io_netcdf.f90 some of the SUBROUTINE open the netcdf file without closing it. Here the list of subroutine :
- Read_Ncdf_Varname
- Get_NbDims
- Dims_Existence
Usualy this bug is undetectable because of the relatively small opened files for a run. I had some issues because I extend the numbers of opened files and the programm give me the error "too many ope files".
The solution is simply to put "status = nf90_close(ncid)" at the end of the subroutine.
Commit History (0)
(No commits)
Attachments (1)
Change History (9)
comment:1 Changed 8 years ago by nicolasmartin
- Keywords close removed
comment:2 Changed 8 years ago by nicolasmartin
- Keywords IO added; io removed
comment:3 Changed 8 years ago by nicolasmartin
- Keywords netCDF added; netcdf removed
comment:4 Changed 8 years ago by nicolasmartin
- Keywords NetCDF added; netCDF removed
comment:5 Changed 8 years ago by nicolasmartin
- Milestone AGRIF deleted
comment:6 Changed 8 years ago by nicolasmartin
- Keywords NetCDF* added; NetCDF removed
comment:7 Changed 7 years ago by mdunphy
The attached patch file -- nf90close.patch -- should resolve this ticket by adding the missing nf90_close() calls.
comment:8 Changed 7 years ago by clevy
- Resolution set to wontfix
- Status changed from new to closed
Suppressing tickets opened on the trunk since more than 2 years... cleaning started!
Milestone AGRIF deleted