-
Notifications
You must be signed in to change notification settings - Fork 4
Hello, excuse me, I have a question to ask you. #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
下载ETOPO1_Bed_c_gmt4.grd.gz,将该数据集解压至项目根目录,解压后的文件名为ETOPO1_Bed_c_gmt4.grd,md5校验码为a32d72c6d2d475d9f8047d6064d0bf2c 可以通过以下代码查看数据集的变量
输出为
可以看到该数据集有三个变量,分别是float64类型的x,float64类型的y,和int32类型的z 请尝试以上方法,如果仍有问题,可以继续在issue中向我沟通,谢谢 |
谢谢您,我运行成功了,十分感谢。想询问一下您,生成规划路径结果图的是运行哪个文件呢,我运行完main之后给出一个奖励函数的曲线。
|
运行完main.py之后,可以得到一个奖励函数的曲线,一个名为Python Turtle Graphics的海龟绘图窗口和一个测试结果曲线。 目前规划路径结果图就是海龟绘图窗口,我保存了一个示例在本项目根目录的img/fig3.gif。代码中并未实现将海龟绘图窗口自动保存为文件的功能。 第一、该绘图窗口方法继承自gym.cliffwalking,我认为它非常古老,并且不美观,所以认为没有必要保存下来 第二、当经纬度跨度过大时,绘制网格线和陆地实心方块时间过长,不是一个可以接受的绘制时间 第三、如果非常想要录制规划路径结果图,可以使用obs studio或其他录屏软件 该项目还处在丰富理论基础和扩展代码实现的阶段,如果您有兴趣,可以与我一同维护本项目代码。 如果本项目对你有帮助,也请为本项目点一个⭐ |
How can I change the code to work with custom lat and lons. I have a data set with all the lats and lons for each of the grid boxes inside the grid. Can you kindly explain. |
您好,学习您的程序的时候运行报错出现这个问题:self.lon = data.variables['x'][lonstartIndex:lonendIndex]
KeyError: 'x'。想请教一下您,这是什么原因呢?是数据集里不存在这个键吗,谢谢。
The text was updated successfully, but these errors were encountered: