-
Notifications
You must be signed in to change notification settings - Fork 7
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
Curate a OFE group ID #298
Labels
Comments
The SQL run to update the current entries update flowpath_ofes o
SET groupid = case when bulk_slope <= 0.02 then 1 when bulk_slope <= 0.04 then 2 when bulk_slope <= 0.06 then 3 when bulk_slope <= 0.12 then 4 else 5 end
||'_'|| case when kwfact <= 0.28 then 1 when kwfact <= 0.32 then 2 else 3 end
||'_'|| substr(f.management, 1, 1) ||'_'|| l.label
from gssurgo g, fields f, general_landuse l where o.gssurgo_id = g.id
and f.field_id = o.field_id and f.genlu = l.id ; |
akrherz
added a commit
to akrherz/dep
that referenced
this issue
Dec 5, 2024
akrherz
added a commit
to akrherz/dep
that referenced
this issue
Dec 5, 2024
akrherz
added a commit
to akrherz/dep
that referenced
this issue
Dec 12, 2024
akrherz
added a commit
to akrherz/dep
that referenced
this issue
Dec 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@dejames52 and @edulukin have been patiently waiting for me to do some analysis of what they called an
uniqueid
to classify our DEP OFEs into comparable groups. I'd rather not call this valueuniqueid
as that implies something it is not. I'll instead call it agroupid
and it will be represented by an underscore seperated string of values in the form<slopeclass>_<kwfactclass>_<tillagecode>_<genlandusecode>
whereslopeclass is
kwfactclass is
tillagecode
andgenlandusecode
are verbatim.TODO
The text was updated successfully, but these errors were encountered: