libsim  Versione6.3.0

◆ volgrid6d_export_to_file()

subroutine volgrid6d_class::volgrid6d_export_to_file ( type(volgrid6d), dimension(:)  this,
character(len=*), intent(in)  filename,
type(grid_id), intent(in), optional  gaid_template,
character(len=*), intent(in), optional  categoryappend 
)
private

High level method for exporting a volume array to file.

All the information contained into an array of volgrid6d objects, i.e. dimension descriptors and data, is exported to a file using the proper output driver (typically grib_api for grib format). If a template is provided, it will determine the characteristic of the output file, otherwise the grid_id descriptors contained in the volgrid6d object will be used

Parametri
thisvolume(s) to be exported
[in]filenameoutput file name
[in]gaid_templatetemplate for the output file, if provided the grid_id information stored in the volgrid6d objects will be ignored
[in]categoryappendappend this suffix to log4fortran namespace category

Definizione alla linea 1571 del file volgrid6d_class.F90.

1571  ENDIF
1572  CALL volgrid_set_vol_3d(volgrid6d_out, itime, itimerange, ivar, &
1573  voldatiout)
1574  ENDDO
1575  ENDDO
1576 ENDDO
1577 
1578 IF (c_e(lvar_coord_vol)) THEN
1579  DEALLOCATE(coord_3d_in)
1580 ENDIF
1581 IF (.NOT.ASSOCIATED(volgrid6d_in%voldati)) THEN
1582  DEALLOCATE(voldatiin)
1583 ENDIF
1584 IF (.NOT.ASSOCIATED(volgrid6d_out%voldati)) THEN
1585  DEALLOCATE(voldatiout)
1586 ENDIF
1587 
1588 
1589 END SUBROUTINE volgrid6d_transform_compute
1590 
1591 
1598 SUBROUTINE volgrid6d_transform(this, griddim, volgrid6d_in, volgrid6d_out, &
1599  lev_out, volgrid6d_coord_in, maskgrid, maskbounds, clone, decode, categoryappend)
1600 TYPE(transform_def),INTENT(in) :: this
1601 TYPE(griddim_def),INTENT(in),OPTIONAL :: griddim
1602 ! TODO ripristinare intent(in) dopo le opportune modifiche in grid_class.F90
1603 TYPE(volgrid6d),INTENT(inout) :: volgrid6d_in
1604 TYPE(volgrid6d),INTENT(out) :: volgrid6d_out
1605 TYPE(vol7d_level),INTENT(in),OPTIONAL,TARGET :: lev_out(:)

Generated with Doxygen.