Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Crops types are largely unchanged. The only exception being that you cannot instantiate a crop in Crops V2.0 - there must always be a varietal. Custom crops are just use user made versions of a crop where the underlying data is inherited from the average of their crop group.

...

Crop management plans are a very similar idea to that of fieldCrops. Generally, they are both the instance of a varietal at a specific location over a specific time frame. In general, this time frame (is from its seeding to its last harvest)harvest - though there are exceptions to this rule. For example, a crop management plan can also generate a “Field work” task which would take place before seeding.  

In fact, we probably won’t need to create a new table, rather just refactor a bit. However, the big difference is that a crop management plan contains a lot more information about how the varietal is planted. It will also generate tasks (the replacement for logs) in an anticipated sequence based on the attributes of the crop management plan. There are also some other major architectural differences:

  1. Crop management plans do NOT expire automatically the way fieldCrops did. Instead, the “harvest date” on the crop management plan is roughly understood to be the first harvest for the varietal. The management plan must manually be marked as either “Completed” or “Abandoned” by a non farm worker. When updating this status, the user will provide a date for this transition which will serve as the end date of the plan for the purpose of filtering.

  2. We’re introducing two new crop management plan statuses to replace the fieldCrop status of “Expired”. For plans that have completely successfully, the user will mark them (see above) as “Completed”. For those that are halted at some point in the season (think drought, floods, or contamination for example) the plan will be marked as “Abandoned”. In both cases they will provide a date and rating (1 - 5 stars) when updating the plan status. For the purposes of our filter category, both of these statuses will show as “Past” if this date is before the filter date.