It looks like you are trying to save a raster layer to a database with a comma in the name of the file. Remove the comma from your file name.
See this link for naming conventions in ArcPro.
Yes. Raster objects have a maximum property. Just make sure statistics have been calculated for the raster or maximum will return None.
Con("my_raster.tif" > "other_raster.tif".maximum, value_if_true, value_if_false)
If you want to set pixels to null when "MyRaster" >= 2800 and set everything else to the values of "MyRaster" all in one step, use this expression:
Con("MyRaster" < 2800, "MyRaster")
or this expression:
SetNull("MyRaster" >= 2800, "MyRaster")
cvr_rasters will be a list of only raster names with no path/workspace. When you change workspace after it is created the rasters will not be found. Try adding path to each raster:
arcpy.env.workspace = CVR
cvr_rasters = arcpy.ListRasters()
cvr_rasters = [os.path.join(CVR, r) for r in cvr_rasters]
Same goes for lss_rasters since you change ...
The arcpy.ListRasters() function will give you a list with the filenames of all the rasters in a given workspace. This way, you can specify the first GDB as your workspace and get a list of all the rasters in it. Then, you can repeat this process for the second GDB.
CVR = r"C:\Aquifer_recalc\Aquifer_recalc_NA\Treecover_NA\Treecover_Inputs.gdb"
LSS = r"C:\...
As you are not showing us the full code I can only guess as to the problem, you really should provide the full code, how do I even know you are importing the spatial analyst extension or setting the workspace? The answer is I don't. So I and the rest of the user community have to second guess what you actually did.
So assuming you have written a script that ...