Is there a way to edit the uploaded assets in GEE in GEE itself? - google-earth-engine

I am looking for a way to edit the shape filed uploaded as assets in GEE. I uploaded the training set for the classification in GEE and now want to remove a few of the points from that assets. As those points are not right. Is there a way that I can edit that asset in GEE itself or can move that asset to geometry and then edit

Related

GEE obtain bands from image collection

I'm currently working on my bachelor's thesis and I am trying to work with Sentinel 5 - P's aerosol data.
I am trying to obtain Aerosol Layer Height (L3__AER_LH) data but I do not know the bands, which I need to 'select'.
The README file on L3__AER_LH reads as follows:
The data file contains the aerosol_mid_pressure and aerosol_mid_height which provide the
air pressure at the center of the aerosol layer and the height at the center of the aerosol layer relative
to the geoid, respectively.
But when I try running: .select('absorbing_aerosol_index'); I get no results.
Therefore, I have tried using print(collection.bandNames); but I recieve an 'undefined'.
Could someone help me obtain L3__AER_LH data from GEE?
Thank you for your time.
Therefore, I have tried using print(collection.bandNames); but I recieve an 'undefined'.
The best way to find out about bands programmatically is to look at the band names of one image, because band information for a collection is sometimes incomplete.
print(collection.first().bandNames());
That said, for datasets from the Earth Engine Data Catalog, you'll get documentation as well as the names by looking at their catalog pages (example), so doing so is a better option in that case.
That page tells you that the band names for L3_AER_LH (as provided by Earth Engine) include aerosol_pressure and aerosol_height.

Java or scala, GeoTools or GeoTrellis, how to convert sentinel 2 data to Multiband geotif

I am trying to process Sentinel 2 data from (example)
http://sentinel-s2-l1c.s3-website.eu-central-1.amazonaws.com/#tiles/10/S/EG/2016/10/12/0/
The jp2 files are not georeferenced, and I need to put all the jp2 files as bands in a geotif. I have googled aplenty and find no way to do this in Java or Scala.
I am pretty familiar with Geotools, i've done a lot of geotif processing with geotools, but I can't figure out how to
a. Make a geotif raster out of a jp2 file (given coords for the envelope), and
b. take those and make a multiband geotif out of them
I am decent with Scala, so I've looked at geotrellis, but don't see a solution with that either.
Does anyone know how to make geotifs out of JP2 files (given a polygon) and then make a multiband geotif?
thanks
I've never tried this, but, I would break the problem down to:
Import JP2 image
GeoReference the image
For each band in the image data, convert to GeoTiff
Step 1 will need you to make sure that you have the JP2K plugin, that page also gives some sample code showing how to use it.
Step 2 should just be a case of building a GridCoverage using a GridCoverageFactory - see the user guide for an example (I am assuming you know where the bounds of the grid are and it's projection etc).
Step 3 is a simple CoverageWriter, there is an example here.

Clipping multiple raster layers in R using a shape file

I'm very new to R and still trying to figure out how it works.
I have climate data I converted from netCDF to raster images, and there are a lot of files. The whole data is for Africa but I 'm only interested in data for Johannesburg. I now need to clip these (thousands|) raster files and I have some shape filed I can use. Suppose my files are saved in D: folder named: Climate and file named: temperature, may you please assist on how I can clip this in R?

Is it possible to import a raster of a PDF file?

Our office does scanning of data entry forms, and we lack any proprietary software that is able to do automated double-entry (primary entry is done by hand, of course). We are hoping to provide a tool for researchers to highlight regions on forms and use scanned versions to determine what participant entry was.
To do this, all I need for a very rough attempt is a file to read in PDFs as raster files, with coordinates as X, Y components, and B&W white "intensities" as a Z-axis.
We use R mainly for statistical analysis and data management, so options in R would be great.
You could use the raster package from R. However, it doesnt support .pdf files, but .tif,.jpg,.png (among many others).
But coverting your pdfs into pngs shouldn't be a big problem: Look here for more information.
Once you have your png files ready, you can do the following:
png <- raster("your/png/file.png")
and then use the extract() function to get your brigthness value from the picture. I.e. let's say your png is 200x200px and you want to extract a pixel value from row 100 and column 150:
value <- extract(png, c(150,100))

Tableau convert measure to dimension

I am trying to emulate the normal bell curve in tableau
Created all the variables, and they are proper. But Rating Bin in my workbook is not Dimension like Profit Bin in other workbook, and that is making it difficult to plot
Curve vs Rating Bin
I have no idea what I'm doing wrong. I just wanted to create normal distribution curve from location average ratings
Update
Unable to drag Rating Bin from Measures to Dimensions
Update 2
These are options when I right-click
I don't know which version of Tableau you are using, but in my version, I can right click on the variable and select "Convert to dimension" from the pop up menu. You should be able to do this, if not drag the field from measure to dimension.

Resources