# Crop Production Output Rasters

**URL:** <https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484>\
**Category:** Software Support\
**Tags:** crop-production\
**Created:** [September 19, 2019, 2:52pm UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484 "2019-09-19T14:52:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![lssmart](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@lssmart](https://community.naturalcapitalalliance.org/u/lssmart)\
**Post date:** [September 19, 2019, 2:52pm UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/1 "2019-09-19T14:52:48Z")

</div>

I have what is hopefully a quick question about the crop production raster output. The users guide describes the output raster yield files with the following ‘These rasters represent the production rate of that crop per pixel.’ Does that mean that each pixel value represents total tons (as in the carbon model) or tons/ha?

---

<div class="post-metadata">

**Author:** ![jdouglass](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/jdouglass/32/9_2.png) [@jdouglass](https://community.naturalcapitalalliance.org/u/jdouglass)\
**Post date:** [September 19, 2019, 6:06pm UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/2 "2019-09-19T18:06:56Z")

</div>

Hi @lssmart,

The outputs of the Crop Production model should represent metric tons of production per pixel per year. So if the pixel size changes, the values should scale accordingly. I’ve updated the User’s Guide chapter to reflect this.

James

---

<div class="post-metadata">

**Author:** ![lssmart](https://avatars.discourse-cdn.com/v4/letter/l/ecd19e/32.png) [@lssmart](https://community.naturalcapitalalliance.org/u/lssmart)\
**Post date:** [September 23, 2019, 3:28pm UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/3 "2019-09-23T15:28:34Z")

</div>

Thanks so much for the quick response!

---

<div class="post-metadata">

**Author:** ![Adele](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@Adele](https://community.naturalcapitalalliance.org/u/Adele)\
**Post date:** [December 25, 2019, 3:17pm UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/4 "2019-12-25T15:17:28Z")

</div>

Hi  
Did you run the crop production mode successfully?

---

<div class="post-metadata">

**Author:** ![SRN](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@SRN](https://community.naturalcapitalalliance.org/u/SRN)\
**Post date:** [August 4, 2020, 5:25pm UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/5 "2020-08-04T17:25:44Z")

</div>

Hi @ jdouglass  
I am very new for InVEST model. i know the function of InVST but i am not familiar with this software.  
I have my land cover data with 5 classes ( urban. farm land , forest , grass. water) and I have crop data of this area (Maize, Rice and wheat )  
what is directory to model data why we need .  
How to prepare land cover to crop table ?  
How to prepare fertilization rate table path( Csv)  
Please help me how to prepare and run the crop production and crop production regression model. I can run the carbon storage model.

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [August 4, 2020, 5:50pm UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/6 "2020-08-04T17:50:25Z")

</div>

Hi @SRN, Welcome to the forum. Have you read the User’s Guide yet? [http://releases.naturalcapitalproject.org/invest-userguide/latest/crop\_production.html](http://releases.naturalcapitalproject.org/invest-userguide/latest/crop_production.html)

Specifically, the “Data Needs” section addresses most of your questions. If you have further questions after reading the manual, please start a “New Topic” with your questions.

Thank you,

---

<div class="post-metadata">

**Author:** ![SRN](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@SRN](https://community.naturalcapitalalliance.org/u/SRN)\
**Post date:** [August 5, 2020, 2:50am UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/7 "2020-08-05T02:50:52Z")

</div>

Dear Dave  
Thank you very much for your reply. I read user guide but not understand about the crop and lulc code. In my LULC data I put LULC code accordingly.  
lucode Class name  
1 urban  
2 Cultivated  
3 Forest  
4 Water  
5 Grass  
In this case how to prepare this table (land cover to crop table)  
Paddy ( rice) - 4 (in ton/ha)  
Wheat - 3 (in ton/ha)  
Maize - 3.5 (in ton/ha)

---

<div class="post-metadata">

**Author:** ![swolny](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/swolny/32/181_2.png) [@swolny](https://community.naturalcapitalalliance.org/u/swolny)\
**Post date:** [August 5, 2020, 3:08am UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/8 "2020-08-05T03:08:21Z")

</div>

Hi @SRN -

When you installed InVEST, did you also install sample data? If so, there will be a folder in your installation folder called sample\_data/CropProduction/sample\_user\_data, which has tables (and other model inputs) that you can use as an example for how to format your own data. If you didn’t install it when you installed InVEST, you can [download the sample data here](http://releases.naturalcapitalproject.org/?prefix=invest/3.8.7/data/).

~ Stacie

---

<div class="post-metadata">

**Author:** ![SRN](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@SRN](https://community.naturalcapitalalliance.org/u/SRN)\
**Post date:** [August 5, 2020, 3:35am UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/9 "2020-08-05T03:35:05Z")

</div>

Hi @swolny  
Thank you very much for your reply. I read this value and format there is mentioned  
barley 1  
wheat 20  
soybean 1000  
I understand 1, 20 and 1000 is lucode .If so, in this case we don’t need to follow the LULC class in this table (land cover to crop table) ?. Please give me more idea.

---

<div class="post-metadata">

**Author:** ![dave](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.naturalcapitalalliance.org/dave/32/70_2.png) [@dave](https://community.naturalcapitalalliance.org/u/dave)\
**Post date:** [August 6, 2020, 10:55pm UTC](https://community.naturalcapitalalliance.org/t/crop-production-output-rasters/484/10 "2020-08-06T22:55:17Z")

</div>

Hi @SRN, The lucode numbers in your table should match with the pixel values in the LULC raster input that you use. If you like, you may upload the CSV table that you are working with and we can look at it. If you are running the model and receiving an error, please also upload the logfile (txt file) that is produced.
