Skip to content

Commit

Permalink
'CAM6 initial release
Browse files Browse the repository at this point in the history
Imported from https://svn-ccsm-models.cgd.ucar.edu/cam1/trunk@89219
Committed by Cheryl Craig <[email protected]> at 2018-05-17 16:10:59 -0600
Original svn commit message:

CAM6 initial release'
  • Loading branch information
cacraigucar authored and goldy committed Oct 3, 2019
0 parents commit a156735
Show file tree
Hide file tree
Showing 1,893 changed files with 1,039,523 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .config_files.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0"?>

<?xml-stylesheet type="text/xsl" ?>

<entry_id>

<!-- This is the same as the default entry in
cime/config/cesm/config_files.xml except for the value for clm:
In a standalone cam checkout, COMP_ROOT_DIR_CAM is $SRCROOT
rather than $SRCROOT/components/cam.
However, because of the way overrides are handled, we need to
re-specify the full information here rather than just overriding
the value for cam.
-->
<entry id="COMP_ROOT_DIR_ATM">
<type>char</type>
<default_value>unset</default_value>
<values>
<value component="cam" >$SRCROOT</value>
<value component="dlnd" >$CIMEROOT/src/components/data_comps/dlnd</value>
<value component="slnd" >$CIMEROOT/src/components/stub_comps/slnd</value>
<value component="xlnd" >$CIMEROOT/src/components/xcpl_comps/xlnd</value>
</values>
<group>case_comps</group>
<file>env_case.xml</file>
<desc>Root directory of the case atmosphere model component </desc>
<schema>$CIMEROOT/config/xml_schemas/config_compsets.xsd</schema>
</entry>

</entry_id>
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Ignore externals
chem_proc
cime
components
manage_externals.log
src/physics/carma/base
src/physics/clubb
src/physics/cosp2/src
src/physics/silhs


# Ignore compiled python
buildnmlc
buildcppc

# Ignore editor temporaries and backups
*~
.#*
\#*#
*.swp
49 changes: 49 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, politcal affiliation, veteran status, pregnancy, genetic information, personal appearance, choice of text editor or operating system, race, religion, or sexual identity and orientation, or any other characteristic protected under applicable US federal or state law.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting
* Refusing to use the pronouns that someone requests
* Intimidating, threatening, or hostile conduct; physical or verbal abuse; vandalism; arson; and sabotage
* Alarming or threatening comments that might refer to, suggest, or promote a violent, intimidating, or threatening action

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. Alternatively, this behavior can be reported to individuals on the CAM team, who will then have the responsibility to talk about the behavior to the core team. Another alternative for NCAR employees (when all individuals involved are NCAR employees) is to use the reporting methods of NCAR for this behavior (these options include anonymous reporting methods). The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Retaliation against a person who initiates a complaint or an inquiry about such behaviors is equally prohibited.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
60 changes: 60 additions & 0 deletions Externals.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[externals_description]
schema_version = 1.0.0

[cice]
tag = cice5_20180418
protocol = git
repo_url = https://github.com/ESCOMP/CESM_CICE5
required = True
local_path = components/cice

[cime]
tag = cime5.6.6
protocol = git
repo_url = https://github.com/ESMCI/cime
required = True
local_path = cime

[cism]
tag = cism2_1_53
protocol = git
repo_url = https://github.com/ESCOMP/cism-wrapper
externals = Externals_CISM.cfg
required = True
local_path = components/cism

[clm]
tag = clm5.0.dev008
protocol = git
repo_url = https://github.com/ESCOMP/ctsm
externals = Externals_CLM.cfg
required = True
local_path = components/clm

[mosart]
tag = mosart1_0_30
protocol = git
repo_url = https://github.com/ESCOMP/mosart
required = True
local_path = components/mosart

[rtm]
tag = rtm1_0_65
protocol = git
repo_url = https://github.com/ESCOMP/rtm
required = True
local_path = components/rtm

[ww3]
tag = ww3_180115
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/ww3/trunk_tags
required = True
local_path = components/ww3

[cam]
local_path = .
protocol = externals_only
externals = Externals_CAM.cfg
required = True

31 changes: 31 additions & 0 deletions Externals_CAM.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[chem_proc]
local_path = chem_proc
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/tools/proc_atm/chem_proc/trunk_tags/
tag = chem_proc5_0_03
required = True

[carma]
local_path = src/physics/carma/base
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/carma/trunk_tags/
tag = carma3_49
required = True

[clubb]
local_path = src/physics/clubb
protocol = svn
repo_url = https://svn-ccsm-models.cgd.ucar.edu/clubb_core/branch_tags/
tag = vendor_clubb_r8099_tags/vendor_clubb_r8099_n02
required = True

[cosp2]
local_path = src/physics/cosp2/src
protocol = svn
repo_url = https://github.com/CFMIP/COSPv2.0/tags/
tag = v2.0.3/src
required = True

[externals_description]
schema_version = 1.0.0

9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# CAM: The Community Atmosphere Model

## NOTE: This is unsupported development code and is subject to the [CESM developer's agreement](http://www.cgd.ucar.edu/cseg/development-code.html).

CAM Documentation - https://ncar.github.io/CAM/doc/build/html/index.html

CAM6 namelist settings - http://www.cesm.ucar.edu/models/cesm2/settings/current/cam_nml.html

Please see the [wiki](https://github.com/ESCOMP/CAM/wiki) for information.
49 changes: 49 additions & 0 deletions README_EXTERNALS
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Example taken from bulletin board forum for "Subversion Issues" in the
thread for "Introduction to Subversion"...(070208)


Working with externals:

checkout the HEAD of cam's trunk into working copy directory
> svn co $SVN/cam1/trunk cam_trunk_head_wc

view the property set for cam's external definitions
> svn propget svn:externals cam_trunk_head_wc

view revision, URL and other useful information specific to external files
> cd cam_trunk_head_wc/models/lnd/clm2/src
> svn info main

create new clm branch for mods required of cam
> svn copy $SVN/clm2/trunk_tags/<tag-to-branch-from> $SVN/clm2/branches/<new-branch-name> -m "appropriate message"

have external directories in working copy refer to new clm branch to make changes
> svn switch $SVN/clm2/branches/<new-branch-name>/src/main main

--make changes to clm files--

when satisfied with changes and testing, commit to HEAD of clm branch
> svn commit main -m "appropriate message"

tag new version of clm branch - review naming conventions!
> svn copy $SVN/clm2/branches/<new-branch-name> $SVN/clm2/branch_tags/<new-branch-name>_tags/<new-tag-name> -m "appropriate message"

have external directories in working copy refer to new clm tag
> svn switch $SVN/clm2/branch_tags/<new-branch-name>_tags/<new-tag-name>/src/main main

modify cam's property for external definitions in working copy
> emacs cam_trunk_head_wc/SVN_EXTERNAL_DIRECTORIES

--point definition to URL of new-tag-name--

set the property - don't forget the 'dot' at the end!
> svn propset svn:externals -F SVN_EXTERNAL_DIRECTORIES cam_trunk_head_wc

--continue with other cam mods--

commit changes from working copy directory to HEAD of cam trunk - NOTE: a commit from here will *NOT* recurse to external directories
> cd cam_trunk_head_wc
> svn commit -m "appropriate message"

tag new version of cam trunk
> svn copy $SVN/cam1/trunk $SVN/cam1/trunk_tags/<new-tag-name> -m "appropriate message"
Loading

0 comments on commit a156735

Please sign in to comment.