https://github.com/adriancorrendo/python_project

https://github.com/adriancorrendo/python_project

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: adriancorrendo
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 834 KB
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created over 7 years ago · Last pushed about 7 years ago
Metadata Files
Readme

README.md

Corn Grain Yield Response to Nitrogen Rates

Name: Adrian Correndo

Semester: Spring 2019

Project area: Agronomy

Last update: Apr-15-2019

Objective

Automating the calculation of grain yield (GY) response to different rates of nitrogen (N) fertilizer, and related fertilizer use efficiencies (NAE) in a database of more than one thousand experiments with different designs. A secondary goal is to explore descriptive statistics of variables of interest grouping experiments by soil texture classes (STx).

Input

*.csv file with 4 columns: TRIAL, STx, N rate, and GY, where:

-TRIAL: Experiment ID number;

-STx: Soil texture class of typical pedon (Soil Survey Staff, 2018);

-Nrate: Nitrogen rate (kg N ha-1);

-GY: Grain Yield when Nrate=0 (Mg ha-1, 15.5% moisture);

Outputs

Two "*.csv" files

  1. N0plots.csv, with the following columns: TRIAL, STx, Y0, Ymax, NRmax, NRmaxr, NAEmax.
  2. Nf_plots.csv, with the following columns: TRIAL, STx, Nrate, GY, Y0, Ymax, NR, NRr and NAE, where:

-Y0: GY when Nrate=0 (Mg ha-1);

-Ymax: maximum observed GY (Mg ha-1);

-NR: absolute nitrogen response corresponding to each fertilizer rate different from 0 (Mg ha-1).

-NRr: relative nitrogen response corresponding to each fertilizer rate different from 0 (%).

-NRmax: maximum absolute nitrogen response (Mg ha-1).

-NRmax_r: maximum relative nitrogen response (%).

-NAE: nitrogen agronomic efficiency as NR divided by its corresponding Nrate (kg NR kg-1 of applied N).

Main challenges were related to:

i) the # of Nrate levels and the ammount of applied N (kg) vary across trials;

ii) Y0 and Ymax values take place at Trial level, while the NR and NAE values, at a sub-level by a given Trial-Nrate combination.

Rationale

I'm working on a review paper for which I collected more than 1200 experiments. Automating these calculations will save me a significant amount of time and avoid potential misscalculations when processing the data. This code might be potentially useful for other similar databases studying crop responses to fertilizer.

Data Example

Example

Fig. 1. Scatter plot of Corn Grain Yield (kg ha-1) and nitrogen rate (kg N ha-1) from two typical corn nitogren experiments from the database (#1: circles, #2: triangles). Y0, Ymax and NR variables are shown for Trial 1. Fitted functions correspond to quadratic-plateau models (y = a + bx +cx^2, when Nrate < Xc -critical value or threshold-; otherwise y = plateau).

Sketch

Main steps of the project Fig. 2. Main steps of the project from data input to expecta data outpouts.

References

  1. Soil Survey Staff, Natural Resources Conservation Service, United States Department of Agriculture. Web Soil Survey. Available online at the following link: https://websoilsurvey.sc.egov.usda.gov/. Accessed [05-06-2019].
  2. os - Miscellaneous operating system interfaces. https://docs.python.org/3/library/os.html. Accessed [05-06-2019].
  3. glob — Unix style pathname pattern expansion. https://docs.python.org/3/library/glob.html. Accessed [05-06-2019].
  4. The pandas project. https://pandas.pydata.org/. Accessed [05-06-2019].
  5. Folium 0.1.5. https://pypi.org/project/folium/0.1.5/. Accessed [05-06-2019].

Owner

  • Name: Adrian Correndo
  • Login: adriancorrendo
  • Kind: user
  • Location: Manhattan, KS, USA
  • Company: Kansas State University

Postdoctoral Fellow, Digital Agronomy Advocate of Applied Stats & Programming for Agriculture.

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Rachel-Veenstra (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels