Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove temporary files from test/em_real #1418

Closed
wants to merge 1 commit into from

Conversation

davegill
Copy link
Contributor

@davegill davegill commented Feb 26, 2021

TYPE: no impact

KEYWORDS: remove

SOURCE: internal

DESCRIPTION OF CHANGES:
There are two files in the test/em_real directory that do not belong in the repository:

  1. landFilenames
  2. windturbines.txt

The landFilenames has a storied history:

commit 7629cd09d63d3d6c60203100f886fcc75bffb26f
Author: John Michalakes <[email protected]>
Date:   Fri Feb 18 18:55:16 2005 +0000
    Temporary addition for hires topo input. Should remove later. JM
    git-svn-id: https://svn-wrf-model.cgd.ucar.edu/trunk@753 b0b5d27b-6f0f-0410-a2a3-cb1e977edc3d

John's advice was to "remove later". We waited 16 years, and now we are removing the file.

The windturbines.txt file is just a template, added in 2013:

    The user locates the turbines with the lat,lon in the
    test/em_real/windturbines.txt file.  This file also includes
    a numeric "type". The sample is a "type" 1.

The file is short:

 55.574051 6.883480 1
 55.569066 6.884697 1 
 30.000000 -77.000000 1

LIST OF MODIFIED FILES: list of changed files (use git diff --name-status master to get formatted list)
D test/em_real/landFilenames
D test/em_real/windturbines.txt

TESTS CONDUCTED:

  1. Jenkins is OK.

RELEASE NOTE: Include a stand-alone message suitable for the inclusion in the minor and annual releases. A publication citation is appropriate.

M    test/em_real/landFilenames
M    test/em_real/windturbines.txt
@davegill
Copy link
Contributor Author

@vlakshmanan-scala
Varun,
I think that this PR spotted an error in the logic of the Jenkins testing. Note that one of the above two files has the extension ".txt". Because of this, the test was INSTANTLY short circuited as a PASS, and no regression test was run.

This should only happen if all of the mods are only to files with special extensions. It looks like the logic now says "if any file has a special extension, do not test".

@davegill
Copy link
Contributor Author

@weiwangncar @dudhia @pedro-jm
Folks,
What is the opinion of removing the windturbines.txt file? Is it useful as a template for the wind energy community?

@dudhia
Copy link
Collaborator

dudhia commented Feb 26, 2021 via email

@weiwangncar
Copy link
Collaborator

@pedro-jm Do you remember if you intended to commit this file to repository as a template? I know this file was not there after Anna's commit.

@dudhia
Copy link
Collaborator

dudhia commented Feb 26, 2021 via email

@davegill davegill changed the title Remove detritus files from test/em_real Remove temporary files from test/em_real Feb 26, 2021
@weiwangncar
Copy link
Collaborator

@dudhia Not sure what people do now, if they run from run/ directory, the windturbines.txt file isn't there.
@davegill I'm ok with removing just the LandFilenames to avoid any controversy.

@dudhia
Copy link
Collaborator

dudhia commented Mar 2, 2021 via email

@davegill
Copy link
Contributor Author

davegill commented Mar 2, 2021

OK, putting the windturbines.txt file back, which is easier with a new PR
#1424 "Remove temporary files from test/em_real" is now the preferred PR

@davegill davegill closed this Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants