viz_utils/eoa_viz.py
def nc_summary(self, ds):
        """ Prints a summary of the netcdf (global attributes, variables, etc)
        :param ds: 
        :return: 
        """
        print("\n========== Global attributes =========")
        for name in ds.ncattrs():
            print(F"{name} = {getattr(ds, name)}")

        print("\n========== Variables =========")
        netCDFvars = ds.variables
        for cur_variable_name in netCDFvars.keys():
            cur_var = ds.variables[cur_variable_name]
            print(F"Dimensions for {cur_variable_name}: {cur_var.dimensions} {cur_var.shape}")
 Prints a summary of the netcdf (global attributes, variables, etc)
        :param ds: 
        :return: 
        
Prints a summary of the netcdf (global attributes, variables, etc)
Prints a summary of the netcdf ( global attributes variables etc )
def nc_summary(self, ds):
        print("\n========== Global attributes =========")
        for name in ds.ncattrs():
            print(F"{name} = {getattr(ds, name)}")
        print("\n========== Variables =========")
        netCDFvars = ds.variables
        for cur_variable_name in netCDFvars.keys():
            cur_var = ds.variables[cur_variable_name]
            print(F"Dimensions for {cur_variable_name}: {cur_var.dimensions} {cur_var.shape}")
def nc_summary ( self , ds ) : print ( "\n========== Global attributes =========" ) for name in ds . ncattrs ( ) : print ( F"{name} = {getattr(ds, name)}" ) print ( "\n========== Variables =========" ) netCDFvars = ds . variables for cur_variable_name in netCDFvars . keys ( ) : cur_var = ds . variables [ cur_variable_name ] print ( F"Dimensions for {cur_variable_name}: {cur_var.dimensions} {cur_var.shape}" )
Prints a summary of the netcdf (global attributes, variables, etc)
Prints a summary of the netcdf ( global attributes variables etc )
""" Prints a summary of the netcdf (global attributes, variables, etc)
        :param ds: 
        :return: 
        """
None
self
ds
None