Code Monkey home page Code Monkey logo

newhall's People

Contributors

drww avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

newhall's Issues

Add Years and total pet to csv summary tool

It would be helpful to bring a year column over from the input file to the csv 
output table.  Similarly, the total PET column could be added to the csv 
output, next to the SWB column.

Original issue reported on code.google.com by [email protected] on 18 Mar 2012 at 5:22

BIO5 moist calculation

What steps will reproduce the problem?
1. BIO5 calc from northeastern weather stations--Central Park, Boston, and 
Philadelphia
2. Values exceed 360 days; randomly occur 1 or 2 per 100 yrs record
3. Occurs in the original BASIC code as well; same data run in the basic gives 
the same result; inherent in the origianl model

What is the expected output? What do you see instead?
Values >360; normally 512 to 600, which isn't feasible


What version of the product are you using? On what operating system?
1.5.1 on Windows 7

Please provide any additional information below.

Looks like it is doubling the possible value


Original issue reported on code.google.com by [email protected] on 18 Mar 2012 at 9:02

PET southern hemisphere latitude correction factor

We obtained unexpected PET results using the jNSM in the southern hemisphere
Original basic code was compared to current code for the southern hemisphere logic
The PET results correction factor uses a linear interpolation of the degree latitude S and correction factors for each month and the input latitude
The current code appears to be different

original code
625 CF=((FS(NROW%+1,I)-FS(NROW%,I))_(((RLA1%-RS(NROW%))_60!)+RLA2%))/((RS(NROW%+1)-RS(NROW%))*60!)
Where
RLA1% = input latitude degrees
RLA2% = input latitude minutes

Current code in r311

// 625
double cf = (BASICSimulationModelConstants.fs[i - 1][nrow] - BASICSimulationModelConstants.fs[i - 1][nrow - 1])* ((dataset.getLatitudeMinutes() - BASICSimulationModelConstants.rs[nrow - 1]) * 60)/ ((BASICSimulationModelConstants.rs[nrow] - BASICSimulationModelConstants.rs[nrow - 1]) * 60);

Amended code

// 625
double cf = ((BASICSimulationModelConstants.fs[i - 1][nrow] - BASICSimulationModelConstants.fs[i - 1][nrow - 1])* (((dataset.getLatitudeDegrees() - BASICSimulationModelConstants.rs[nrow - 1]) * 60) + dataset.getLatitudeMinutes()))/ ((BASICSimulationModelConstants.rs[nrow] - BASICSimulationModelConstants.rs[nrow - 1]) * 60);

Generate a 1:1 Java translation from psudocode template.

Psudocode has been generated from Newhall source code.  A Java implementation 
of this psudocode should be generated.  For the time being, being able to 
generate the exact same results as the DOS version is paramount.

JUnit tests should be implemented for the main simulation body, using the 
results of several DOS Newhall runs.  Lower resolution floating point fields 
may prove slightly problematic, so be aware.

The end result should generate everything that the FLX output file provides 
from Newhall, including the report following the simulation.

Original issue reported on code.google.com by [email protected] on 19 Apr 2010 at 6:54

Create Swing GUI for Newhall

Newhall needs a GUI to make it user-friendly.  Goals should be as follows:

1. User can open a dataset.
2. User can repeatedly run model over dataset.
3. All data presented by BASIC model should be present in results.
4. Unit conversion should be available and immediately applied.
5. User should be able to trigger an export of the results.
6. Application should terminate through "X" button and through File>Exit.
7. Some sort of About dialog should be present with minimal information about 
version.

Original issue reported on code.google.com by [email protected] on 28 Sep 2010 at 6:38

Batch Mode

Add the ability to run hundreds of files at once using the same model 
assumptions for each.  Should take in a folder of datasets, and export to a 
different folder of results.

Original issue reported on code.google.com by [email protected] on 7 Mar 2011 at 3:36

Create summarizer tool to compile directories of run XML files into a flat CSV file.

Summarizer tool will be separate from the main Newhall application, but may be 
integrated back in at a later date, potentially as part of an added batch mode.

Input: Directory of Newhall XML files, only ones with <output> tags.
Output: CSV file matching the attached file format.

Original issue reported on code.google.com by [email protected] on 9 May 2011 at 6:49

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.