IDEA
|
Hi Gia, This is used in grid theme style and you set column width in the appearance column. The W12, W7, etc. represents number of columns (side by side) for a group of questions. It is handy when completing a survey on a tablet as it saves room and saves on scrolling down a long survey. Here is a link to esri webpage with a good explanation on groups, grids, and pages: https://community.esri.com/groups/survey123/blog/2019/11/20/survey123-tricks-of-the-trade-groups-grids-and-pages Hope this helps! Elizabeth
... View more
08-13-2020
02:53 PM
|
0
|
0
|
313
|
POST
|
I found a keyword for this issue Moving Average. There is a post "Tool for a moving average over a time series" in 2015, mentioned this method. However, it was used to smooth the series by average them out. I don't want that. I just want to fill the missing data. Hopefully, someone can help me!
... View more
11-20-2019
01:01 PM
|
0
|
0
|
19
|
POST
|
Dear community, Could you please to instruct me to write an ArcPy or Python code to convert multiple NetCDF files to rasters? I failed to use Iterator/ModelBuilder. I found a code to convert 1 NetCDF to a raster using MakeNetCDFRasterLayer function. However, I don't know how to write a loop to read through all NetCDF files. I attached here 3 NetCDF files as an example for my dataset. All comments are appreciated. Thank you so much. # Import system modules import arcpy # Set local variables inNetCDFFile = "C:/data/netcdf/rainfall.nc" variable = "pptx" XDimension = "lon" YDimension = "lat" outRasterLayer = "rainfall" bandDimmension = "" dimensionValues = "" valueSelectionMethod = "" cellRegistration = "" # Execute MakeNetCDFRasterLayer arcpy.MakeNetCDFRasterLayer_md(inNetCDFFile, variable, XDimension, YDimension, outRasterLayer, bandDimmension, dimensionValues, valueSelectionMethod, cellRegistration)
... View more
09-30-2019
10:01 PM
|
0
|
0
|
56
|
POST
|
Hi Louise Thank you for your response. While waiting for the best solution, I tried the code below. It works still now. I use it to convert from NetCDF files to rasters. import arcpy from arcpy import env from arcpy.sa import * Input_Temp_folder = "E:\Mekong\DATA\JMP_Deeplearning_data\Mekong_temp\Temp_2017" Out_Temp_folder_Max ="E:\Mekong\DATA\JMP_Deeplearning_data\Mekong_temp\Temp_2017\Max" Out_Temp_folder_Min ="E:\Mekong\DATA\JMP_Deeplearning_data\Mekong_temp\Temp_2017\Min" arcpy.env.workspace = Input_Temp_folder arcpy.env.overwriteOutput = True arcpy.env.scratchWorkspace = Out_Temp_folder_Max # Create scratch workspace arcpy.env.scratchWorkspace = Out_Temp_folder_Min # create Scratch workspace variableTemp1 = "T2MMAX" variableTemp2="T2MMIN" XDimension = "lon" YDimension = "lat" time = "time" NetCDFfiles = arcpy.ListFiles("*.nc4.nc") print NetCDFfiles for filename in NetCDFfiles: print ("Processing: " + filename) day = filename[27:35]# extract date in the filenames outRasterLayer_Temp_Max = variableTemp1 + "_" + day # create a time series for names outRasterLayer_Temp_Min = variableTemp2 + "_" + day # create a time series for names InNetCDTemp = arcpy.env.workspace + "/" + filename # get a file arcpy.MakeNetCDFRasterLayer_md(InNetCDTemp, variableTemp1, XDimension, YDimension, outRasterLayer_Temp_Max,time) arcpy.MakeNetCDFRasterLayer_md(InNetCDTemp, variableTemp2, XDimension, YDimension, outRasterLayer_Temp_Min,time) outRasterTemp_Folder = Out_Temp_folder_Min arcpy.SplitRaster_management (outRasterLayer_Temp_Max,Out_Temp_folder_Max,outRasterLayer_Temp_Max,"POLYGON_FEATURES","TIFF","NEAREST","","","","DEGREES","","","Mekong_Basin","","","") arcpy.SplitRaster_management (outRasterLayer_Temp_Min,Out_Temp_folder_Min,outRasterLayer_Temp_Min,"POLYGON_FEATURES","TIFF","NEAREST","","","","DEGREES","","","Mekong_Basin","","","")
... View more
10-16-2019
01:37 PM
|
0
|
0
|
278
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|