Using SAS Studio OnDemand for Academics, the following code generates a file (STATIONDATAEXISTING) under two LIBRARIES: SOCAL and FORMATS . Why would it create one in the FORMATS library? When I delete it from the FORMATS library the entry under the SOCAL library disappears too. Seems weird.
Thanks in advance for any guidance,
Gene
data socal.stationdataexisting;
input station $ lat long alt az elev;
datalines;
US000S 34.290983 -116.383718 .898 198.31 54.33
US000V 33.960142 -117.259044 .533 47.06 67.3
US001Q 33.960142 -117.259044 .533 129.44 68.32
US001R 34.290983 -116.383718 .898 90 45
US001E 33.640000 -117.60 .500 . .
;
run;
data socal.stationdataexisting;
set socal.stationdataexisting;
/*Define Center of Grid as location of US000S*/
xpos=(long-(-116.383718))*91.09;
ypos=(lat-(34.29083))*111.19;
zpos= alt;
run;
the first thing that comes to mind is that you have assigned library SOCAL and library FORMATS to the same folder.
the first thing that comes to mind is that you have assigned library SOCAL and library FORMATS to the same folder.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.