S. L. Price's profile photo

S. L. Price

Washington, D.C.

Senior Writer at Sports Illustrated

26yr Sports Illustrated Senior Writer: 47 cover stories, 9xBestAmericanSW. Upcoming book -- The American Game: History and Hope in the Country of Lacrosse

Articles

  • Jan 14, 2025 | gis.stackexchange.com | S. L. Price

    I can't seem to figure out why the calculate fields tool won't work when one of the fields is NULL. It could maybe understand if I was multiplying the values, but I'm only calculating the sum. arcpy.AddFields_management(pivotTable,[["NOT_OLD", "DOUBLE"], ["TOTAL", "DOUBLE"]])arcpy.CalculateFields_management(pivotTable, "PYTHON3", [["NOT_OLD", "!Early! + !Mature! + !Mid!"], ["TOTAL", "!NOT_OLD! + !Old!"]])

  • Jul 31, 2024 | gis.stackexchange.com | S. L. Price |Setting workspace

    I'm trying to list the fields of a feature class and then remove certain fields from that list, using a for loop, so that it can be used in a delete field tool. I have a list of fields I want to keep, one of them being "SHAPE", but the for loop removes every other field name except "SHAPE". I've tried different variations of the word; like SHAPE, Shape, @SHAPE, and SHAPE@. None of them work unfortunately. The SHAPE field has a Geometry field type.

  • Mar 14, 2024 | gis.stackexchange.com | S. L. Price

    I'm receiving the following errors: Traceback (most recent call last): File "f:\tst_root\GIS_WORKSPACE\sprice\PatchSize_SSG_Methods_Rework\SSG\Python\SSG_Analysis_Part1_BlockListClip.py", line 169, in <module> arcpy.Union_analysis(unionInputs, r'in_memory\SLR_Union', "ALL") File "E:\sw_nt\ArcGIS\Pro\Resources\ArcPy\arcpy\analysis.py", line 851, in Union raise e File "E:\sw_nt\ArcGIS\Pro\Resources\ArcPy\arcpy\analysis.py", line 848, in Union retval =...

Try JournoFinder For Free

Search and contact over 1M+ journalist profiles, browse 100M+ articles, and unlock powerful PR tools.

Start Your 7-Day Free Trial →

X (formerly Twitter)

Followers
6K
Tweets
14K
DMs Open
No
S.L. Price
S.L. Price @bySLPrice
9 May 25

RT @JeremySchaap: Eager to dive into this. https://t.co/0TQWnzDm2S

S.L. Price
S.L. Price @bySLPrice
9 May 25

RT @TheCinesthetic: The use of “Sunshine of Your Love” by Cream in Goodfellas is masterful—De Niro’s stare, the slow zoom, the mood shift.…

S.L. Price
S.L. Price @bySLPrice
9 May 25

RT @InfiniteB88ks: Ernest Hemingway, this is the mentality https://t.co/LUKBdVQyaU