![]() Under the TIGER directory you will see PERMANENT. You will now have, beneath the grassdata directory two subdirs: ncspm, and TIGER. You are now in a GRASS session, running under the TIGER location and PERMANENT mapset. The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. You can click Yes, then (when it finishes importing) click 'Start GRASS Session'. The cookie is used to store the user consent for the cookies in the category "Performance". This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". The cookie is used to store the user consent for the cookies in the category "Other. The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". These cookies ensure basic functionalities and security features of the website, anonymously. Necessary cookies are absolutely essential for the website to function properly. Regional_summary = two_months_west_coast. Lat = slice (west_bounds, west_bounds ) ). open_dataset (data_path_monthly ) as file_nc : read_file (states_path ) # 读取nc数据ĭata_path_monthly = '' with xr. total_bounds ) ] # Handle the 0-360 lon values if world : to_dataframe ( ) 本节完整代码 # 提取geopandas对象的外包络矩形经纬度 def get_aoi (shp, world = True ) : """Takes a geopandas object and converts it to a lat/ lonĪoi_lon = ), float (shp. GRASS GIS contains over 500 modules to process and render geographic data. Lat = slice (west_bounds, west_bounds ) ) In GRASS GIS Layer Manager toolbar d.rast: Add raster map layer d.vect: Add vector map layer d.shade: Add various raster map layers > Add shaded relief map In GRASS GIS Map toolbar d.zoom: Zoom options d.out.file: Save display to file d.barscale: Add map elements > Add scale bar d. Lon = slice (west_bounds, west_bounds ) , Two_months_west_coast = monthly_forecast_temp_xr. West_bounds = get_aoi (cali_or_wash_nev ) # 设定提取的起止时间 Take your first steps in GRASS GIS by attending the Geospatial Studio and learning how to use this free software. Additionally, find out if the application can integrate with the company’s current business apps to ensure. The scores and ratings offer you an overall idea how both these software products perform. 9.0 for QGIS) and user satisfaction level (97 for GRASS GIS vs. total_bounds ) ]Īoi_lon = ), float (shp. It’s also possible to check their score (8.9 for GRASS GIS vs. 帮助生成多个mask的函数 def get_aoi (shp, world = True ) : """Takes a geopandas object and converts it to a lat/ lonĪoi_lat = ), float (shp. plot (col = 'time', col_wrap = 1 )Ĭali_or_wash_nev = states_gdf ) ] 根据GeoPandasDataFrame生成掩膜 cali_mask =regionmask. set (title = "Annual Max Temperature (K) in California" ) ![]() subplots (figsize = ( 12, 6 ) )Ĭali_annual_max_val. Lat = slice (aoi_lat, aoi_lat ) )Ĭali_ts = monthly_forecast_temp_xr. Note to MS Windows users: Check if the extraction created just one ncspm08grass7 directory. ![]() Two_months_cali = monthly_forecast_temp_xr. GRASS GIS NC SPM sample dataset: zip or tar.gz (installer on MS Windows offers to download it doing installation) Uncompress the downloaded file and put the content grassdata directory in your home directory or directory of your choice. total_bounds ) ]Īoi_lon = ), float (cali_aoi. ![]() States_path, "ne_50m_admin_1_states_provinces_lakes.shp" ) States_path = "ne_50m_admin_1_states_provinces_lakes" GRASS GIS NC SPM sample dataset: zip or tar. set_style ( "white" ) 读取数据 data_path_monthly = '' with xr. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |