Example #1
0
 def read_bv_fort13(self):
     """
     Read the boundary value nodal values for Manning's n from
     ``self.fulldomain`` and save as a ``dict`` as ``self.bv_fort13``.
     """
     self.read_bv_nodes()
     self.bv_fort13 = f13.read_nodal_attr(self, self.path,
                                          nums=self.bv_nodes)
Example #2
0
 def read_bv_fort13(self):
     """
     Read the boundary value nodal values for Manning's n from
     ``self.fulldomain`` and save as a ``dict`` as ``self.bv_fort13``.
     """
     self.read_bv_nodes()
     self.bv_fort13 = f13.read_nodal_attr(self,
                                          self.path,
                                          nums=self.bv_nodes)
Example #3
0
    def read_nodal_attr(self, path=None, file_name='fort.13'):
        """
        Load in nodal attributes from a ``*.13`` file (only does Manning's *n*
        for now) and return a dictonary (like a MATLAB struct) with these
        attributes).

        :type path: string or None
        :param path: directory containing ``fort.13`` formatted file
        :param string file_name: ``fort.13`` formatted file name
        :returns: See :meth:`~polyadcirc.pyADCIRC.fort13_management.read_nodal_attr`

        """
        if path == None:
            path = self.path
        return f13.read_nodal_attr(self, path, file_name)