Skip to content

Non-conformance in names #28

Description

@jkrasting

@jetesdal and @gmacgilchrist - there are a lot of variables, attributes, methods, etc. that could have more descriptive names. As a general rule, they should be longer than 3 characters and be all lower case.

We can exempt a small number if there is a good reason, (e.g. ds is commonly used throughout the community to denote an xarray.core.Dataset object, but most of these could be made more intuitive.

Can you suggest some alternatives?

Variables -- Must be longer than three characters and all lower case

  • ct
  • dd
  • dm
  • dt
  • dy
  • F
  • F_mean
  • F_transformed
  • G
  • _G
  • Jlmass
  • l
  • p
  • sa

Attributes -- Must be longer than three characters and all lower case

  • Cp
  • da
  • dd
  • dl
  • ds
  • F
  • h
  • Jl
  • l
  • Ldot
  • lm
  • Qm
  • tf
  • ti
  • z

Functions -- Must be longer than three characters and all lower case

  • calc_F_transformed
  • calc_G
  • expand_surface_to_3D
  • hldot_from_Jl
  • hldot_from_Ldot_hldotmass
  • Jlmass_from_Qm_lm_l

Class Methods -- Must be longer than three characters and all lower case

  • calc_Fl
  • calc_F_transformed
  • calc_G
  • dd
  • F
  • G

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions