Plain_netCDF_Time Module

MODULE: Plain_netCDF_Time

Author: GMAO SI-Team


Uses

  • module~~plain_netcdf_time~~UsesGraph module~plain_netcdf_time Plain_netCDF_Time ESMF ESMF module~plain_netcdf_time->ESMF iso_c_binding iso_c_binding module~plain_netcdf_time->iso_c_binding iso_fortran_env iso_fortran_env module~plain_netcdf_time->iso_fortran_env module~mapl_constants MAPL_Constants module~plain_netcdf_time->module~mapl_constants module~mapl_errorhandlingmod MAPL_ErrorHandlingMod module~plain_netcdf_time->module~mapl_errorhandlingmod module~mapl_exceptionhandling MAPL_ExceptionHandling module~plain_netcdf_time->module~mapl_exceptionhandling module~mapl_keywordenforcermod MAPL_KeywordEnforcerMod module~plain_netcdf_time->module~mapl_keywordenforcermod module~mapl_shmemmod MAPL_ShmemMod module~plain_netcdf_time->module~mapl_shmemmod module~pfio_netcdf_supplement pfio_NetCDF_Supplement module~plain_netcdf_time->module~pfio_netcdf_supplement module~mapl_constants->iso_fortran_env module~mapl_internalconstantsmod MAPL_InternalConstantsMod module~mapl_constants->module~mapl_internalconstantsmod module~mapl_mathconstantsmod MAPL_MathConstantsMod module~mapl_constants->module~mapl_mathconstantsmod module~mapl_physicalconstantsmod MAPL_PhysicalConstantsMod module~mapl_constants->module~mapl_physicalconstantsmod module~mapl_throwmod MAPL_ThrowMod module~mapl_errorhandlingmod->module~mapl_throwmod mpi mpi module~mapl_errorhandlingmod->mpi module~mapl_exceptionhandling->module~mapl_errorhandlingmod module~mapl_exceptionhandling->module~mapl_throwmod module~mapl_shmem MAPL_Shmem module~mapl_shmemmod->module~mapl_shmem module~pfio_netcdf_supplement->iso_c_binding module~mapl_internalconstantsmod->iso_fortran_env module~mapl_mathconstantsmod->iso_fortran_env module~mapl_physicalconstantsmod->iso_fortran_env module~mapl_physicalconstantsmod->module~mapl_mathconstantsmod module~mapl_shmem->iso_c_binding module~mapl_shmem->iso_fortran_env module~mapl_shmem->module~mapl_constants module~mapl_shmem->mpi

Used by

  • module~~plain_netcdf_time~~UsedByGraph module~plain_netcdf_time Plain_netCDF_Time module~historytrajectory_implement HistoryTrajectory_implement module~historytrajectory_implement->module~plain_netcdf_time module~mapl_obsutilmod MAPL_ObsUtilMod module~historytrajectory_implement->module~mapl_obsutilmod module~historytrajectorymod HistoryTrajectoryMod module~historytrajectory_implement->module~historytrajectorymod module~mapl_epochswathmod MAPL_EpochSwathMod module~mapl_epochswathmod->module~plain_netcdf_time module~mapl_obsutilmod->module~plain_netcdf_time module~mapl_xygridfactorymod MAPL_XYGridFactoryMod module~mapl_xygridfactorymod->module~plain_netcdf_time module~mapl_xygridfactorymod->module~mapl_obsutilmod module~masksamplergeosatmod MaskSamplerGeosatMod module~masksamplergeosatmod->module~plain_netcdf_time module~masksamplergeosatmod->module~mapl_obsutilmod proc~get_filename_from_template get_filename_from_template proc~get_filename_from_template->module~plain_netcdf_time proc~get_filename_from_template_use_index get_filename_from_template_use_index proc~get_filename_from_template_use_index->module~plain_netcdf_time module~historytrajectorymod->module~mapl_obsutilmod module~mapl_historycollectionmod MAPL_HistoryCollectionMod module~mapl_historycollectionmod->module~mapl_epochswathmod module~mapl_historycollectionmod->module~masksamplergeosatmod module~mapl_historycollectionmod->module~historytrajectorymod module~mapl_historygridcompmod MAPL_HistoryGridCompMod module~mapl_historygridcompmod->module~mapl_epochswathmod module~mapl_historygridcompmod->module~masksamplergeosatmod module~mapl_historygridcompmod->module~historytrajectorymod module~mapl_historygridcompmod->module~mapl_historycollectionmod module~mapl_historycollectionvectormod MAPL_HistoryCollectionVectorMod module~mapl_historygridcompmod->module~mapl_historycollectionvectormod module~mapl_stringfieldsetmapmod MAPL_StringFieldSetMapMod module~mapl_historygridcompmod->module~mapl_stringfieldsetmapmod module~mapl_swathgridfactorymod MAPL_SwathGridFactoryMod module~mapl_swathgridfactorymod->module~mapl_obsutilmod module~masksamplergeosat_implement MaskSamplerGeosat_implement module~masksamplergeosat_implement->module~masksamplergeosatmod module~extdata_drivergridcompmod ExtData_DriverGridCompMod module~extdata_drivergridcompmod->module~mapl_historygridcompmod module~mapl_capgridcompmod MAPL_CapGridCompMod module~mapl_capgridcompmod->module~mapl_historygridcompmod module~mapl_historycollectionvectormod->module~mapl_historycollectionmod module~mapl_stringfieldsetmapmod->module~mapl_historycollectionmod module~extdatadrivermod ExtDataDriverMod module~extdatadrivermod->module~extdata_drivergridcompmod module~mapl_capmod MAPL_CapMod module~mapl_capmod->module~mapl_capgridcompmod program~comp_testing_driver comp_testing_driver program~comp_testing_driver->module~mapl_capgridcompmod program~extdata_driver ExtData_Driver program~extdata_driver->module~extdata_drivergridcompmod

Interfaces

public interface bisect

  • public subroutine bisect_find_LB_R8_I8(xa, x, n, n_LB, n_UB, rc)

    Arguments

    Type IntentOptional Attributes Name
    real(kind=ESMF_KIND_R8), intent(in) :: xa(:)
    real(kind=ESMF_KIND_R8), intent(in) :: x
    integer(kind=ESMF_KIND_I8), intent(out) :: n
    integer(kind=ESMF_KIND_I8), intent(in), optional :: n_LB
    integer(kind=ESMF_KIND_I8), intent(in), optional :: n_UB
    integer, intent(out), optional :: rc

public interface convert_time_esmf2nc

  • public subroutine time_esmf_2_nc_int(time, tunit, n, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Time), intent(in) :: time
    character(len=*), intent(in) :: tunit
    integer(kind=ESMF_KIND_I8), intent(out) :: n
    integer, intent(out), optional :: rc

public interface convert_time_nc2esmf

  • public subroutine time_nc_int_2_esmf(time, tunit, n, rc)

    Arguments

    Type IntentOptional Attributes Name
    type(ESMF_Time), intent(out) :: time
    character(len=*), intent(in) :: tunit
    integer, intent(in) :: n
    integer, intent(out), optional :: rc

public interface get_v2d_netcdf

  • public subroutine get_v2d_netcdf_R4(filename, name, array, Xdim, Ydim, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: filename
    character(len=*), intent(in) :: name
    real, intent(out), dimension(Xdim,Ydim) :: array
    integer, intent(in) :: Xdim
    integer, intent(in) :: Ydim
    integer, intent(out), optional :: rc
  • public subroutine get_v2d_netcdf_R8(filename, name, array, Xdim, Ydim, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: filename
    character(len=*), intent(in) :: name
    real(kind=REAL64), intent(out), dimension(Xdim,Ydim) :: array
    integer, intent(in) :: Xdim
    integer, intent(in) :: Ydim
    integer, intent(out), optional :: rc

public interface hms_2_s

  • public interface hms_2_s()

    Arguments

    None

public interface parse_timeunit

  • public subroutine parse_timeunit_i4(tunit, n, t0, dt, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: tunit
    integer, intent(in) :: n
    type(ESMF_Time), intent(out) :: t0
    type(ESMF_TimeInterval), intent(out) :: dt
    integer, intent(out), optional :: rc
  • public subroutine parse_timeunit_i8(tunit, n, t0, dt, rc)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: tunit
    integer(kind=ESMF_KIND_I8), intent(in) :: n
    type(ESMF_Time), intent(out) :: t0
    type(ESMF_TimeInterval), intent(out) :: dt
    integer, intent(out), optional :: rc

Functions

public function hms_2_s(hms)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: hms

Return Value integer

public function is_success(c)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: c

Return Value logical


Subroutines

public subroutine ESMF_time_to_two_integer(time, itime, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Time), intent(in) :: time
integer, intent(out) :: itime(2)
integer, intent(out), optional :: rc

public subroutine bisect_find_LB_R8_I8(xa, x, n, n_LB, n_UB, rc)

Arguments

Type IntentOptional Attributes Name
real(kind=ESMF_KIND_R8), intent(in) :: xa(:)
real(kind=ESMF_KIND_R8), intent(in) :: x
integer(kind=ESMF_KIND_I8), intent(out) :: n
integer(kind=ESMF_KIND_I8), intent(in), optional :: n_LB
integer(kind=ESMF_KIND_I8), intent(in), optional :: n_UB
integer, intent(out), optional :: rc

public subroutine check_nc_status(status, rc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: status
integer, intent(out), optional :: rc

public subroutine convert_twostring_2_esmfinterval(symd, shms, interval, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*) :: symd
character(len=*) :: shms
type(ESMF_TimeInterval), intent(out) :: interval
integer, intent(out), optional :: rc

public subroutine diff_two_timeunits(tunit1, tunit2, x, dt_esmf, rc)

write(6,) ‘tunit1=’, tunit1 write(6,) ‘tunit2=’, tunit2 write(6,) ‘del sec’, sec write(6,) ‘del x’, x

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: tunit1
character(len=*), intent(in) :: tunit2
real(kind=ESMF_KIND_R8), intent(out) :: x
type(ESMF_TimeInterval), intent(out), optional :: dt_esmf
integer, intent(out), optional :: rc

public subroutine get_att_char_netcdf(filename, varname, att_name, att_value, group_name, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: varname
character(len=*), intent(in) :: att_name
character(len=*), intent(out) :: att_value
character(len=*), intent(out), optional :: group_name
integer, intent(out), optional :: rc

public subroutine get_att_real_netcdf(filename, varname, att_name, att_value, group_name, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: varname
character(len=*), intent(in) :: att_name
real(kind=REAL64), intent(out) :: att_value
character(len=*), intent(out), optional :: group_name
integer, intent(out), optional :: rc

public subroutine get_attribute_from_group(filename, group_name, var_name, attr_name, attr, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: group_name
character(len=*), intent(in) :: var_name
character(len=*), intent(in) :: attr_name
character(len=*), intent(inout) :: attr
integer, intent(out), optional :: rc

public subroutine get_ncfile_dimension(filename, nlon, nlat, tdim, key_lon, key_lat, key_time, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
integer, intent(out), optional :: nlon
integer, intent(out), optional :: nlat
integer, intent(out), optional :: tdim
character(len=*), intent(in), optional :: key_lon
character(len=*), intent(in), optional :: key_lat
character(len=*), intent(in), optional :: key_time
integer, intent(out), optional :: rc

public subroutine get_v1d_netcdf_R8(filename, name, array, Xdim, group_name, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: name
real(kind=REAL64), intent(out), dimension(Xdim) :: array
integer, intent(in) :: Xdim
character(len=*), intent(in), optional :: group_name
integer, intent(out), optional :: rc

public subroutine get_v1d_netcdf_R8_complete(filename, varname, array, att_name, att_value, group_name, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: varname
real(kind=REAL64), intent(inout) :: array(:)
character(len=*), intent(in), optional :: att_name
real(kind=REAL64), intent(out), optional :: att_value
character(len=*), intent(out), optional :: group_name
integer, intent(out), optional :: rc

public subroutine get_v2d_netcdf_R4(filename, name, array, Xdim, Ydim, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: name
real, intent(out), dimension(Xdim,Ydim) :: array
integer, intent(in) :: Xdim
integer, intent(in) :: Ydim
integer, intent(out), optional :: rc

public subroutine get_v2d_netcdf_R8(filename, name, array, Xdim, Ydim, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=*), intent(in) :: name
real(kind=REAL64), intent(out), dimension(Xdim,Ydim) :: array
integer, intent(in) :: Xdim
integer, intent(in) :: Ydim
integer, intent(out), optional :: rc

public subroutine parse_timeunit_i4(tunit, n, t0, dt, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: tunit
integer, intent(in) :: n
type(ESMF_Time), intent(out) :: t0
type(ESMF_TimeInterval), intent(out) :: dt
integer, intent(out), optional :: rc

public subroutine parse_timeunit_i8(tunit, n, t0, dt, rc)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: tunit
integer(kind=ESMF_KIND_I8), intent(in) :: n
type(ESMF_Time), intent(out) :: t0
type(ESMF_TimeInterval), intent(out) :: dt
integer, intent(out), optional :: rc

public subroutine time_esmf_2_nc_int(time, tunit, n, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Time), intent(in) :: time
character(len=*), intent(in) :: tunit
integer(kind=ESMF_KIND_I8), intent(out) :: n
integer, intent(out), optional :: rc

public subroutine time_nc_int_2_esmf(time, tunit, n, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Time), intent(out) :: time
character(len=*), intent(in) :: tunit
integer, intent(in) :: n
integer, intent(out), optional :: rc

public subroutine two_integer_to_ESMF_time(time, itime, rc)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Time), intent(out) :: time
integer, intent(in) :: itime(2)
integer, intent(out), optional :: rc