Closed LandonTClipp closed 6 years ago
@richielo @shashankbansal6
We will probably take an entire day every so often to clean up code and document properly. Proper code documentation is essential for any respectable project.
""" findJobPartition()
DESCRIPTION:
This function determines which MPI jobs will be responsible for how many orbits. It loops through the
list "orbits" and increments each element in the "processBin" list, up to len(orbits) number of orbits.
ARGUMENTS:
numProcess (int) -- The number of MPI processes (i.e. the number of bins to fill with orbits)
orbits (list: int) -- A list containing all of the Terra orbits that need to be processed.
EFFECTS:
None
RETURN:
Returns a list of size numProcess. Each element in the list tells how many orbits each MPI process will
handle.
"""
This will be a sort of "long-term" issue that we need to handle. Currently, there are many scripts and programs that are not documented properly. Mainly, code commenting needs to be a priority for us, especially since we will likely not be the only ones to use our code. Please modify all current and future code to comply with the following requirements:
This verbose description should be invoked when the program is run without any arguments. If your program does not take any arguments by default, then the verbose description should be invoked when using the -h flag.
Please follow this format as closely as possible.